Template:JSPokerCharacter: Difference between revisions

From questden
Jump to navigationJump to search
(Remove the URL from display. It's a big, tempting, and wrong click target, and people no longer need to copy it.)
m (Note about coupling to parsing code)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
::'''safe'''—If you got caught playing at work, you'd be in more trouble for slacking off than for the imagery.
::'''safe'''—If you got caught playing at work, you'd be in more trouble for slacking off than for the imagery.
::'''soft'''—Nudity, considerable lewdness, uncontrollable outbursts of blushing.
::'''soft'''—Nudity, considerable lewdness, uncontrollable outbursts of blushing.
::'''hard'''—[[BiteQuest]] was here.
::'''hard'''—Porn.
</noinclude><includeonly>|-
<!-- Please note:
    The USE of this template (not the output of it) is parsed by JSPoker.
    Don't change its arguments or how they're used or that will break.
--></noinclude><includeonly>|-
|'''[[{{{quest|MISSING QUEST}}}|{{{character|MISSING CHARACTER}}}]]'''
|'''[[{{{quest|MISSING QUEST}}}|{{{character|MISSING CHARACTER}}}]]'''
|[[{{{author|MISSING AUTHOR}}}]]{{#if:{{{authorext|}}}|{{{authorext}}}|<nowiki />}}
|[[{{{author|MISSING AUTHOR}}}]]{{#if:{{{authorext|}}}|{{{authorext}}}|<nowiki />}}
| style="text-align: center; font-weight: bold; font-variant: small-caps; color: white; {{#ifeq:{{{sfw|}}}|safe|background-color: green;|{{#ifeq:{{{sfw|}}}|soft|background-color: goldenrod;|{{#ifeq:{{{sfw|}}}|hard|background-color: red;|background-color: black;}}}}}}" |{{#ifeq:{{{sfw|}}}|safe|safe|{{#ifeq:{{{sfw|}}}|soft|nudity|{{#ifeq:{{{sfw|}}}|hard|hardcore|MISSING SFW}}}}}}</includeonly><!-- No trailing WSP! -->
| style="text-align: center; font-weight: bold; font-variant: small-caps; color: white; {{#ifeq:{{{sfw|}}}|safe|background-color: green;|{{#ifeq:{{{sfw|}}}|soft|background-color: goldenrod;|{{#ifeq:{{{sfw|}}}|hard|background-color: red;|background-color: black;}}}}}}" |{{#ifeq:{{{sfw|}}}|safe|safe|{{#ifeq:{{{sfw|}}}|soft|nudity|{{#ifeq:{{{sfw|}}}|hard|hardcore|MISSING SFW}}}}}}</includeonly><!-- No trailing WSP! -->

Latest revision as of 15:29, 28 November 2013

Define a JSPoker character table row. Completely useless outside of that. Arguments (mostly required):

url
Full URL of the character, to load them by.
quest
Canonical page name of the quest they're from (will be used as a link target).
character
Name of the character.
author
Who made the poker character (not necessarily the author of the quest).
authorext
(Optional) Extra fluff to stick after the author. Not as fancy as Template:Infobox's; this is a straight insert.
sfw
One of the following to indicate how (un)safe for work it is:
safe—If you got caught playing at work, you'd be in more trouble for slacking off than for the imagery.
soft—Nudity, considerable lewdness, uncontrollable outbursts of blushing.
hard—Porn.