Difference between revisions of "Template:Infobox branch"

From Moped Wiki
Jump to: navigation, search
m (fixing code)
m (still fixing code)
Line 1: Line 1:
 
<table style="width: 20em; font-size:90%; text-align: left; align: right;" cellspacing="4">
 
<table style="width: 20em; font-size:90%; text-align: left; align: right;" cellspacing="4">
 
<tr><th colspan="2" style="text-align: center;"><big>{{{branch name}}}</big></th></tr>
 
<tr><th colspan="2" style="text-align: center;"><big>{{{branch name}}}</big></th></tr>
{{#if:{{{logo|}}}|<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;"><strong>{{{city|}}}</strong></td></tr>}}<!--
+
{{#if:{{{city|}}}|<tr><td colspan="2" style="text-align: center;"><strong>{{{city|}}}</strong></td></tr>}}
-->{{#if:{{{members page|}}}|<tr><td colspan="2" style="text-align: center;"><small>{{{members page|}}}</small></td></tr>}}<!--
+
{{#if:{{{members page|}}}|<tr><td colspan="2" style="text-align: center;"><small>{{{members page|}}}</small></td></tr>}}
-->{{#if:{{{founded|}}}|<tr><th>Year&nbsp;founded</th><td>{{{founded|}}}</td></tr>}}<!--
+
{{#if:{{{founded|}}}|<tr><th>Year&nbsp;founded</th><td>{{{founded|}}}</td></tr>}}
-->{{#if:{{{active|}}}|<tr><th>Active within Moped Army</th><td>{{{active|}}}</td></tr>}}<!--
+
{{#if:{{{active|}}}|<tr><th>Active within Moped Army</th><td>{{{active|}}}</td></tr>}}
-->{{#if:{{{current status|}}}|<tr><th>Current status</th><td>{{{current status|}}}</td></tr>}}<!--
+
{{#if:{{{current status|}}}|<tr><th>Current status</th><td>{{{current status|}}}</td></tr>}}
-->{{#if:{{{branch captain|}}}|<tr><th>Branch captain</th><td>{{{branch captain|}}}</td></tr>}}<!--
+
{{#if:{{{branch captain|}}}|<tr><th>Branch captain</th><td>{{{branch captain|}}}</td></tr>}}
-->{{#if:{{{rally|}}}|<tr><th>Rally</th><td>{{{rally|}}}</td></tr>}}
+
{{#if:{{{rally|}}}|<tr><th>Rally</th><td>{{{rally|}}}</td></tr>}}
 
</table><noinclude>
 
</table><noinclude>
  
Line 14: Line 14:
 
Usage summary:
 
Usage summary:
 
<pre>
 
<pre>
{{Infobox Branch
+
{{Infobox branch
 
| branch name =  
 
| branch name =  
 
| logo =  
 
| logo =  
Line 33: Line 33:
 
                             ! Description
 
                             ! Description
 
|- valign=top
 
|- valign=top
| '''branch name'''      || || Name of the branch (duh).
+
| '''branch name'''      || || Name of the branch (duh) (required).
 
|- valign=top
 
|- valign=top
 
| '''logo'''          || || Branch logo
 
| '''logo'''          || || Branch logo

Revision as of 04:06, 31 October 2006





{{{branch name}}}


Usage summary:

{{Infobox branch
| branch name = 
| logo = 
| city = 
| members page = 
| founded = 
| active = 
| current status = 
| branch captain =
| rally = 
}}

Fields

Type Description
branch name Name of the branch (duh) (required).
logo Branch logo
city City (or metro area or region or whatever)
members page Link to the branch's members page (e.g. http://www.mopedarmy.com/members/view/decepticons/)
founded Year or date branch was founded (as an entity before becoming a Moped Army branch)
active Period in years during which the act was or has been active. (e.g. 1998-present)
current status Probably either active or inactive
branch captain Branch captain's name
rally Name of rally held by branch.

Notes

  • Most fields are optional and the row will simply be omitted if no data is supplied.