Difference between revisions of "Template:Infobox branch"

From Moped Wiki
Jump to: navigation, search
m (trying using if template)
m (removing debug case; fixing positioning (I think))
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; float: right; border: 1px solid gray;" 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|test={{{bob|}}}|then=<tr><td colspan="2" style="text-align: center;">{{{bob|}}}</td></tr>}}
 
 
{{if|test={{{logo|}}}|then=<tr><td colspan="2" style="text-align: center;">{{{logo|}}}</td></tr>}}
 
{{if|test={{{logo|}}}|then=<tr><td colspan="2" style="text-align: center;">{{{logo|}}}</td></tr>}}
 
{{if|test={{{city|}}}|then=<tr><td colspan="2" style="text-align: center;"><strong>{{{city|}}}</strong></td></tr>}}
 
{{if|test={{{city|}}}|then=<tr><td colspan="2" style="text-align: center;"><strong>{{{city|}}}</strong></td></tr>}}

Revision as of 04:41, 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.