Difference between revisions of "Template:Moped Gang"

From Moped Wiki
Jump to: navigation, search
(+doc)
m ({{PAGENAME}})
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<table style="width: 20em; font-size:90%; text-align: left; border: 2px solid orange; background: whitesmoke;" align="right" cellspacing="4">
 
<table style="width: 20em; font-size:90%; text-align: left; border: 2px solid orange; background: whitesmoke;" align="right" cellspacing="4">
<tr><th colspan="2" style="text-align: center;"><big>{{{name}}}</big></th></tr>
+
<tr><th colspan="2" style="text-align: center; width: 20em;"><big>{{{name|{{PAGENAME}}}}}</big></th></tr>
{{if|test={{{logo|}}}|then=<tr><td colspan="2" style="text-align: center;">{{{logo|}}}</td></tr>}}
+
{{#if:{{{logo|}}}|<tr><td colspan="2" style="text-align: center;">{{{logo|}}}</td></tr>}}{{#if:{{{city|}}}|<tr><td colspan="2" style="text-align: center;">{{{city|}}}</td></tr>}}{{#if:{{{founded|}}}|<tr><th>Founded</th><td>{{{founded|}}}</td></tr>}}{{#if:{{{official|}}}|<tr><th>Official branch?</th><td>{{{official|}}}</td></tr>}}{{#if:{{{members|}}}|<tr><th>Members</th><td>{{{members|}}}</td></tr>}}{{#if:{{{scouts|}}}|<tr><th>Scouts</th><td>{{{scouts|}}}</td></tr>}}{{#if:{{{honorary|}}}|<tr><th>Honorary</th><td>{{{honorary|}}}</td></tr>}}{{#if:{{{rallies|}}}|<tr><th>Rallies</th><td>{{{rallies|}}}</td></tr>}}{{#if:{{{awesome|}}}|<tr><th>Level of awesome</th><td>{{{awesome|}}}</td></tr>}}{{#if:{{{website|}}}|<tr><th>Website</th><td>{{{website|}}}</td></tr>}}
{{if|test={{{city|}}}|then=<tr><td colspan="2" style="text-align: center;">{{{city|}}}</td></tr>}}
 
{{if|test={{{founded|}}}|then=<tr><th>Founded</th><td>{{{founded|}}}</td></tr>}}
 
{{if|test={{{official|}}}|then=<tr><th>Official branch?</th><td>{{{official|}}}</td></tr>}}
 
{{if|test={{{members|}}}|then=<tr><th>Members</th><td>{{{members|}}}</td></tr>}}
 
{{if|test={{{scouts|}}}|then=<tr><th>Scouts</th><td>{{{scouts|}}}</td></tr>}}
 
{{if|test={{{honorary|}}}|then=<tr><th>Honorary</th><td>{{{honorary|}}}</td></tr>}}
 
{{if|test={{{rallies|}}}|then=<tr><th>Rallies</th><td>{{{rallies|}}}</td></tr>}}
 
{{if|test={{{awesome|}}}|then=<tr><th>Level of awesome</th><td>{{{awesome|}}}</td></tr>}}
 
{{if|test={{{website|}}}|then=<tr><th>Website</th><td>{{{website|}}}</td></tr>}}
 
 
</table><noinclude>[[Category:Templates|Moped Gang]] {{Moped Gang/doc}}</noinclude>
 
</table><noinclude>[[Category:Templates|Moped Gang]] {{Moped Gang/doc}}</noinclude>

Latest revision as of 23:27, 28 May 2018

Moped Gang
Documentation icon Documentation

Usage

{{Moped Gang
|name = (the gang's name)
|logo = (the gang's logo (if there is one))
|city= (what city is the gang in?)
|founded= (what year was it founded?)
|official= (is it an official branch?)
|members= (how many members?)
|scouts= (how many scouts?)
|honorary= (how many honorary?)
|rallies= (any rallies?)
|website= (what's the website?)
}}

All fields are optional except for the gang's name.