Difference between revisions of "Template:Quirk"

From Flexible Survival
Jump to: navigation, search
(Extra documentation)
(Add better image detection)
Line 5: Line 5:
 
| style="text-align:right;vertical-align:top;border-right:1px solid #a2a9b1;padding:0 0.3em 0.5em 0.3em" | '''Description''' || style="padding:0 0.3em 0.5em 0.3em;vertical-align:top" | {{#if: {{{Description|}}} | {{{Description}}} | Unknown/Unspecified}}
 
| style="text-align:right;vertical-align:top;border-right:1px solid #a2a9b1;padding:0 0.3em 0.5em 0.3em" | '''Description''' || style="padding:0 0.3em 0.5em 0.3em;vertical-align:top" | {{#if: {{{Description|}}} | {{{Description}}} | Unknown/Unspecified}}
 
|-
 
|-
| style="text-align:right;vertical-align:top;border-right:1px solid #a2a9b1;padding:0 0.3em 0.5em 0.3em" | || style="padding:0 0.3em 0.5em 0.3em;vertical-align:top;text-align:center" | [[File:{{#ifexist: File:Quirk_{{lc:{{PAGENAME}}}}.png | Quirk_{{lc:{{PAGENAME}}}}.png | Quirk_no_image.png}}|frameless|200px|{{PAGENAME}} icon]]
+
| style="text-align:right;vertical-align:top;border-right:1px solid #a2a9b1;padding:0 0.3em 0.5em 0.3em" | || style="padding:0 0.3em 0.5em 0.3em;vertical-align:top;text-align:center" | [[File:{{#ifexist: File:Quirk_{{lc:{{PAGENAME}}}}.png | Quirk_{{lc:{{PAGENAME}}}}.png | {{#ifexist: File:Quirk_{{PAGENAME}}.png | Quirk_{{PAGENAME}}.png | Quirk_no_image.png}}}}|frameless|200px|{{PAGENAME}} icon]]
 
|-
 
|-
 
| style="text-align:right;vertical-align:top;border-right:1px solid #a2a9b1;padding:0 0.3em 0.5em 0.3em" | '''Tags''' || style="padding:0 0.3em 0.5em 0.3em;vertical-align:top" | {{#if: {{{Tags|}}} | {{{Tags}}} | Unknown/Unspecified}}
 
| style="text-align:right;vertical-align:top;border-right:1px solid #a2a9b1;padding:0 0.3em 0.5em 0.3em" | '''Tags''' || style="padding:0 0.3em 0.5em 0.3em;vertical-align:top" | {{#if: {{{Tags|}}} | {{{Tags}}} | Unknown/Unspecified}}

Revision as of 17:02, 26 October 2019

A template for quirks in the multiplayer MUCK.

Usage

{{Quirk
| Name = <name of quirk (will default to pagename if not specified)>
| Description = <description of quirk>
| Tags = Sensory,Social
| Requires = <any requirements needed to take this quirk>
| Excludes = <anything other quirks excluded by this one>
}}

Note that the badge pages are automatically generated from this template, so don't edit the badge pages themselves. If you have additional information to add such as how to obtain the badge, some background information, an amusing pun about the name, etc, it should be added to the 'Extra Notes' subpage using the Add Notes or Edit Notes link. That won't be overwritten automatically, and is included in the page when viewed.

Example

Name Template OCD
Description You're obsessed with templates, and can't stop yourself creating them all over the wiki. Any situation where a template can be applied, you'll be there!
Quirk icon
Tags Unknown/Unspecified
Requires Nothing
Excludes None

No additional notes on file for this subject.


The contents of the Extra Notes subpage will appear here, with the edit link below them.