Difference between revisions of "Template:Aspect"
(Added sizing option and documentation) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <span style="background-color: # | + | <includeonly><span style="background-color: #1d444c; border: solid 1px #358e8e; color: #bcd0d0; display: inline-block; font-family: Georgia, serif; font-weight: bold; height: {{{3|20}}}px; line-height: 1;">[[File:{{{1}}}.png|frameless|{{{3|20}}}x{{{3|20}}}px|link=:Category:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|<span style="display: inline-block; text-align: center; width: 20px;">{{{2}}}</span>}}</span></includeonly><noinclude>A simple template to show an aspect, with optional quantity. |
+ | |||
+ | '''Examples:''' | ||
+ | |||
+ | <pre> | ||
+ | {{Aspect|Winter}} | ||
+ | </pre> | ||
+ | |||
+ | {{Aspect|Winter}} | ||
+ | |||
+ | <pre> | ||
+ | {{Aspect|Winter|10}} | ||
+ | </pre> | ||
+ | |||
+ | {{Aspect|Winter|10}} | ||
+ | |||
+ | <pre> | ||
+ | {{Aspect|Winter||60}} | ||
+ | </pre> | ||
+ | |||
+ | {{Aspect|Winter||60}}</noinclude> |