Difference between revisions of "Template:City Council"

From Cvillepedia
Jump to: navigation, search
(first of what should be many navboxes: a big missing piece)
 
(more colors!)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| class="navbox" style="width: 100%; font-size:85%; margin:0.5em auto;border:1px solid #ccc;"
 
{| class="navbox" style="width: 100%; font-size:85%; margin:0.5em auto;border:1px solid #ccc;"
| style="text-align: center;" rowspan="2" |
+
| style="text-align: center; background:lightgrey; color:inherit" colspan="2" | '''Charlottesville [[City Council]]''', {{{term}}}
| style="text-align: center;" rowspan="2" | '''Charlottesville's [[City Council]]'''  
 
{|}
 
 
|-  
 
|-  
| width="20%" style="text-align: left;" | Mayor
+
| width="20%" style="text-align: left;" | [[Mayor of Charlottesville|Mayor]]
| width="80%" style="text-align: left;" | [[David Norris]]
+
| width="80%" style="text-align: left;" | {{{mayor}}}
 
|-  
 
|-  
 
| width="20%" style="text-align: left;" | Vice-Mayor
 
| width="20%" style="text-align: left;" | Vice-Mayor
| width="80%" style="text-align: left;" | [[Julian Taliaferro]]
+
| width="80%" style="text-align: left;" | {{{vice-mayor}}}
 
|-  
 
|-  
 
| width="20%" style="text-align: left;" | Members
 
| width="20%" style="text-align: left;" | Members
| width="80%" style="text-align: left;" | [[David Brown]] {{!}} [[Satyendra Huja]] {{!}} [[Holly Edwards]]
+
| width="80%" style="text-align: left;" | {{{members}}}
 
|-  
 
|-  
 
| width="20%" style="text-align: left;" | See also
 
| width="20%" style="text-align: left;" | See also
| width="80%" style="text-align: left;" | [[List of City Councilors]]  
+
| width="80%" style="text-align: left;" | [[List of City Councilors]]  {{!}} [[{{{election-link}}}|Recent City Council elections]]
|}<!-- not sure why this is shows up in the box, not needed ATM so going with it... <noinclude>{{City Council/doc}}</noinclude>-->
+
|}<noinclude>{{City Council/doc}}</noinclude>

Latest revision as of 00:14, 8 November 2009

Usage

Use {{City Council}} to build templates for each term of city council under a sub-template, e.g., {{City Council/2008}}.

Parameters

term

The period of time the council is seated. exact dates are super-nice here.

mayor

The link to the mayor. Include the links., e.g., Use "[[Dave Norris]]" instead of just "Dave Norris". Can be plain text for things like "TBD" if the new council is not yet seated.

vice-mayor

Works just like mayor.

members

When passing members in, separate their links with special characters as follows:

[[David Brown]] {{!}} [[Satyendra Huja]] {{!}} [[Holly Edwards]]

election-link

Bare link (i.e., do not enclose in brackets) to the city council section of the most recent election page.

I suppose you could have both elections, if someone wanted to add another parameter.