Template:City: Difference between revisions
Sage Poete (talk | contribs) (Created page with "{|width="240px" align="right" style="border-spacing:8px; margin:0px 15px 5px 5px;" |class="wikitable" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-...") |
Sage Poete (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{|width="240px" align="right" style="border-spacing:8px; margin:0px 15px 5px 5px;" | <includeonly>{|width="240px" align="right" style="border-spacing:8px; margin:0px 15px 5px 5px;" | ||
|class="wikitable" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"| | |class="wikitable" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"| | ||
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:middle; background:#f5fffa;border:1px solid #a3bfb1;" | {|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:middle; background:#f5fffa;border:1px solid #a3bfb1;" | ||
Line 23: | Line 23: | ||
|} | |} | ||
|} | |} | ||
[[Category:{{{country}}}]] | [[Category:{{{country}}}]] | ||
<!--[[region:{{{region}}}]] | |||
[[csgroup:{{{group}}}]] | |||
[[wikitravel:{{{wikitravel}}}]] | |||
[[wikipedia:{{{wikipedia}}}]]!--></includeonly> | |||
<noinclude> | |||
__NOEDITSECTION__ | |||
{|width="240px" align="right" style="border-spacing:8px; margin:0px 15px 5px 5px;" | |||
|class="wikitable" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"| | |||
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:middle; background:#f5fffa;border:1px solid #a3bfb1;" | |||
!colspan="3" style="margin:0; background:#cef2e0; font-size:150%; font-weight:bold; border:1px solid #a3bfb1; text-align:center; color:#000; padding:0.2em 0.4em;"|Pirate City | |||
|- | |||
|style="text-align:left;font-size:120%" colspan="3"|''"Yaarrrrr!"''' | |||
|- | |||
|style="text-align:left;font-size:120%" colspan="3"| Country: '''South Sea''' | |||
|- | |||
|style="text-align:left;font-size:100%" colspan="3"| Region: '''The 7 Seas''' | |||
|- | |||
|style="text-align:center;border:1px solid #a3bfb1" colspan="3"|[[image:Pirates city.jpg|220px|Pirate justice]] | |||
|- | |||
|style="background:#eeeeF7;text-align:center;font-size:110%;border:1px solid #a3bfb1" colspan="3"| '''More Information:''' | |||
|- | |||
|style="align:center;text-align:left;width:33%"|'''[[:csgroup:3503|CS Group]]''' | |||
|style="align:center;text-align:center;width:33%"|'''[[:wikipedia:Pirate City|Wikipedia]]''' | |||
|style="align:center;text-align:right;width:33%"|'''[[:wikitravel:Pirate City|Wikitravel]]''' | |||
|- | |||
|} | |||
|} | |||
This template can be used on all city guide pages to organize basic details about the city in an easy to read format as well as providing links that are sometimes inaccessible on the sidebar. For country pages see {{[[template:country|Country]]}}. To see a working example, see [[Chicago]]. | |||
==Use== | |||
simply insert the following at the top of the page and fill it out: | |||
<nowiki>{{</nowiki>City | |||
|name = | |||
|country = | |||
|region = | |||
|nickname = | |||
|group = | |||
|wikipedia = | |||
|wikitravel = | |||
|image = | |||
|imagetext = | |||
|ambassadors = | |||
<nowiki>}}</nowiki> | |||
==Example== | |||
The following code would create the table seen at the right: | |||
<nowiki>{{</nowiki>City | |||
|name = Pirate City | |||
|country = South Sea | |||
|region = The 7 Seas | |||
|nickname = Yaarrrrr! | |||
|group = 3503 | |||
|wikipedia = Pirate City | |||
|wikitravel = Pirate City | |||
|image = Pirates city.jpg | |||
|imagetext = Pirate Justice | |||
|ambassadors = | |||
<nowiki>}}</nowiki> | |||
[[Category:Templates]] | |||
</noinclude> |
Revision as of 13:35, 4 December 2012
|
This template can be used on all city guide pages to organize basic details about the city in an easy to read format as well as providing links that are sometimes inaccessible on the sidebar. For country pages see {{Country}}. To see a working example, see Chicago.
Use
simply insert the following at the top of the page and fill it out:
{{City |name = |country = |region = |nickname = |group = |wikipedia = |wikitravel = |image = |imagetext = |ambassadors = }}
Example
The following code would create the table seen at the right:
{{City |name = Pirate City |country = South Sea |region = The 7 Seas |nickname = Yaarrrrr! |group = 3503 |wikipedia = Pirate City |wikitravel = Pirate City |image = Pirates city.jpg |imagetext = Pirate Justice |ambassadors = }}