Difference between revisions of "Template:State"

[[Wiki.trustroots.org]] is an independent wiki with information for people who are actively exchanging hospitality.
Jump to: navigation, search
Line 1: Line 1:
{|width="240px" align="right" style="border-spacing:8px; margin:0px -8px;"
+
<includeonly>{|width="240px" align="right" style="border-spacing:8px; margin:0px -8px;"
 
|class="wikitable" style="width:55%; border:1px solid #8B4513; background:#E0EAEB; vertical-align:top; color:#000;"|
 
|class="wikitable" style="width:55%; border:1px solid #8B4513; background:#E0EAEB; vertical-align:top; color:#000;"|
 
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:middle; background:#E0EAEB;border:1px solid #a3bfb1;"
 
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:middle; background:#E0EAEB;border:1px solid #a3bfb1;"
Line 19: Line 19:
 
|}
 
|}
 
[[Category:{{{country}}}]]
 
[[Category:{{{country}}}]]
 +
<!--[[csgroup:{{{group}}}]]
 +
[[wikitravel:{{{wikitravel}}}]]
 +
[[wikipedia:{{{wikipedia}}}]]
 +
[[hitch:{{{hitch}}}]]!--></includeonly>
 +
<noinclude>
 +
__NOEDITSECTION__ 
 +
{|width="240px" align="right" style="border-spacing:8px; margin:0px -8px;"
 +
|class="wikitable" style="width:55%; border:1px solid #8B4513; background:#A0EAEB; vertical-align:top; color:#000;"|
 +
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:middle; background:#E0EAEB;border:1px solid #a3bfb1;"
 +
!colspan="3" style="margin:0; background:#94CBD1; font-size:150%; font-weight:bold; border:1px solid #3D878F; text-align:center; color:#000; padding:0.2em 0.4em;"|Alabama
 +
|-
 +
|style="text-align:left;font-size:120%" colspan="3"| Country: '''[[:category:United States|United States]]'''
 +
|-
 +
|style="text-align:center;border:1px solid #q3bfb1" colspan="3"|[[image:alabama-flag.jpg|220px|Flag of Alberta]]
 +
|-
 +
|style="background:#94CBD1;text-align:center;font-size:110%;border:1px solid #3D878F" colspan="3"| '''Links:'''
 +
|-
 +
|style="text-align:center"|'''[[:csgroup:296|CS Group]]'''
 +
|style="text-align:center"|'''[[:wikipedia:Alabama|Wikipedia]]'''
 +
|-
 +
|style="text-align:center"|'''[[:wikitravel:Alabama|Wikitravel]]'''
 +
|style="text-align:center"|'''[[:hitch:Alabama|HitchWiki]]
 +
|-
 +
|}
 +
|}
 +
This template will add links in the side bar and eventually a dynamic table with a maps, a calendar, etc. Add this to all '''state''' category pages. For city pages see the {{[[template:City|City]]}}. For country pages see the {{[[template:Country|Country]]}}
 +
==Use==
 +
To use insert the following at the top of the page:
 +
    <nowiki>{{</nowiki>State
 +
    |name      =
 +
    |country    =     
 +
    |group      =
 +
    |wikipedia  =
 +
    |wikitravel =
 +
    |hitch      =
 +
    |image      =
 +
    |imagetext  =
 +
    <nowiki>}}</nowiki>
 +
==Example==
 +
    <nowiki>{{</nowiki>State
 +
    |name      =Alabama
 +
    |country    =United States
 +
    |group      =296
 +
    |wikipedia  =Alabama
 +
    |wikitravel =Alabama
 +
    |hitch      =Alabama
 +
    |image      =alabama-flag.jpg
 +
    |imagetext  =Flag of Alabama
 +
    <nowiki>}}</nowiki>
 +
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 12:36, 4 December 2012


Alabama
Country: United States
Flag of Alberta
Links:
CS Group Wikipedia
Wikitravel HitchWiki

This template will add links in the side bar and eventually a dynamic table with a maps, a calendar, etc. Add this to all state category pages. For city pages see the {{City}}. For country pages see the {{Country}}

Use

To use insert the following at the top of the page:

    {{State
    |name       =
    |country    =       
    |group      = 
    |wikipedia  =
    |wikitravel =
    |hitch      =
    |image      =
    |imagetext  =
    }}

Example

    {{State
    |name       =Alabama
    |country    =United States
    |group      =296 
    |wikipedia  =Alabama
    |wikitravel =Alabama
    |hitch      =Alabama
    |image      =alabama-flag.jpg
    |imagetext  =Flag of Alabama
    }}