Difference between revisions of "Template:Badge"
From Flexible Survival
m (Correct image alignment) |
(Added support for a default image when no specific image is uploaded) |
||
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:Badge_{{lc:{{PAGENAME}}}}.png|frameless|{{PAGENAME}} | + | | 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:Badge_{{lc:{{PAGENAME}}}}.png | Badge_{{lc:{{PAGENAME}}}}.png | Badge_no_image.png}}|frameless|{{PAGENAME}} icon]] |
|} | |} | ||
</div> | </div> |
Revision as of 16:39, 13 October 2018
A template for badges in the multiplayer MUCK.
Usage
{{Badge | Name = <name of badge (will default to pagename if not specified)> | Description = <description of badge> }}
Note that the badge pages are (or at least may be) automatically generated, so don't edit 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. That won't be overwritten automatically, and is included in the page when viewed.
Example
Name | Systematic Documenter |
Description | You've edited the wiki! Congratulations on being helpful, or perhaps unhelpful, depending on what you changed. |
No additional notes on file for this subject.
The contents of the Extra Notes subpage will appear here, with the edit link below them.