Template:City header: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{|width="100%" cellspacing="0px" style="margin-bottom:8px;border:1px solid #ba9c63;background:#f2e5d6;" | {|width="100%" cellspacing="0px" style="margin-bottom:8px;border:1px solid #ba9c63;background:#f2e5d6;" | ||
|- | |- | ||
|width="15%" style="font-size:140%;text-align:center;border-right:1px solid # | |width="15%" style="font-size:140%;text-align:center;border-right:1px solid #ba9c63;border-bottom:1px solid #ba9c63;"|'''{{{city}}}''' | ||
|width="35%" style="padding:1px 4px;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Main pages''' | |width="35%" style="padding:1px 4px;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Main pages''' | ||
|width="35%" style="padding:1px 4px;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Smaller areas''' | |width="35%" style="padding:1px 4px;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Smaller areas''' |
Revision as of 19:02, 26 December 2009
{{{city}}} | Main pages | Smaller areas | Other links |
[[file:{{{image}}}|100x80px|{{{imagetext}}}]] |
{{{toplinks}}} |
{{{areas}}} |
{{ #if: |*[[:csgroup:{{{csgroup}}}|CS group]]}} {{ #if: |*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}} {{ #if: |*[[:wikitravel:{{{wikitravel}}}|Wikitravel]]}} {{ #if: |*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}} |
This is a meta-template used by city header templates like template:Hamburg for standard formatting. You can use it to easily make a new header template for a city that does not already have one.
Usage
use the following form in your header templates:
{{City header |city = |country = |areas = |toplinks = |csgroup = |wikipedia = |hitchwiki = |wikitravel = |image = |imagetext = }}