Template:City Council: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
(parameterizing for easier future/past year creation. also I made it prettier.)
(more colors!)
 
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;" colspan="2" | '''Charlottesville [[City Council]]''', {{{term}}}
| style="text-align: center; background:lightgrey; color:inherit" colspan="2" | '''Charlottesville [[City Council]]''', {{{term}}}
|-  
|-  
| width="20%" style="text-align: left;" | [[Mayor of Charlottesville|Mayor]]
| width="20%" style="text-align: left;" | [[Mayor of Charlottesville|Mayor]]

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.