Template:JSPokerCharacter: Difference between revisions

From questden
Jump to navigationJump to search
m (Docs and tweak SFW styling)
m (Change column ordering for better read)
Line 10: Line 10:
::'''hard'''—[[BiteQuest]] was here.
::'''hard'''—[[BiteQuest]] was here.
</noinclude><includeonly>|-
</noinclude><includeonly>|-
|<span class="plainlinks">[{{{url}}} {{{url|MISSING URL}}}]</span>
|'''[[{{{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 />}}
|<span class="plainlinks">[{{{url}}} {{{url|MISSING URL}}}]</span>
| 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! -->

Revision as of 18:07, 6 September 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.
hardBiteQuest was here.