Difference between revisions of "Template:JSPokerCharacter"

From questden
(Funny as I might find it, I should probably doc that more usefully since stuff has been ported. (Jesus, you lot have got libido issues.))
m (Note about coupling to parsing code)
 
Line 9: Line 9:
 
::'''soft'''—Nudity, considerable lewdness, uncontrollable outbursts of blushing.
 
::'''soft'''—Nudity, considerable lewdness, uncontrollable outbursts of blushing.
 
::'''hard'''—Porn.
 
::'''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.