Difference between revisions of "Template:Aspect"

From The Fansus
Jump to: navigation, search
(Added sizing option and documentation)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="background-color: #84c7d5; color: #1a3e3e; display: inline-block; font-weight: bold; height: 20px; line-height: 1;">[[File:{{{1}}}.png|frameless|20x20px|link=|{{{1}}}]]{{#if:{{{2|}}}|<span style="display: inline-block; padding: 0 3px;">{{{2}}}</span>}}</span>
+
<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>

Latest revision as of 14:27, 16 July 2018

A simple template to show an aspect, with optional quantity.

Examples:

{{Aspect|Winter}}

Winter

{{Aspect|Winter|10}}

Winter10

{{Aspect|Winter||60}}

Winter