Template:JSPokerCharacter: Difference between revisions

From questden
Jump to navigationJump to search
m (MW recognizes it as an URL and makes it into a link anyway, so undo revision 18695 by LionsPhil (talk))
(Remove the URL from display. It's a big, tempting, and wrong click target, and people no longer need to copy it.)
Line 12: Line 12:
|'''[[{{{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 16:47, 25 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.
hardBiteQuest was here.