Difference between revisions of "Template:Infobox place symbols"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
imported>Plastikspork
(Add country parameter and documentation)
Line 1: Line 1:
−
{{Infobox
+
<includeonly>{{Infobox
 
|title    = State symbols of {{{state}}}
 
|title    = State symbols of {{{state}}}
  
 
|label1  = Flag
 
|label1  = Flag
−
|data1    = {{{flag<includeonly>|</includeonly>}}}
+
|data1    = {{{flag|}}}
−
|label2  = [[Emblems of Indian States|Emblem]]
+
|label2  = {{#switch:{{{country}}}
−
|data2    = {{{emblem<includeonly>|</includeonly>}}}
+
| India = [[Emblems of Indian states|Emblem]]
−
|label3  = [[Languages with official status in India|Language]]
+
| #default = Emblem
−
|data3    = {{{language<includeonly>|</includeonly>}}}
+
}}
 +
|data2    = {{{emblem|}}}
 +
|label3  = {{#switch:{{{country}}}
 +
| India = [[Languages with official status in India|Language]]
 +
| #default = Language
 +
}}
 +
|data3    = {{{language|}}}
 
|label4  = Song
 
|label4  = Song
−
|data4    = {{{song<includeonly>|</includeonly>}}}
+
|data4    = {{{song|}}}
 
|label4  = Dance
 
|label4  = Dance
−
|data4    = {{{dance<includeonly>|</includeonly>}}}
+
|data4    = {{{dance|}}}
−
|label5  = [[List of Indian state animals|Animal]]
+
|label5  = {{#switch:{{{country}}}
−
|data5    = {{{animal<includeonly>|</includeonly>}}}
+
| India = [[List of Indian state animals|Animal]]
−
|label6  = [[List of Indian state birds|Bird]]
+
| #default = Animal
−
|data6    = {{{bird<includeonly>|</includeonly>}}}
+
}}
 +
|data5    = {{{animal|}}}
 +
|label6  = {{#switch:{{{country}}}
 +
| India = [[List of Indian state birds|Bird]]
 +
| #default = Bird
 +
}}
 +
|data6    = {{{bird|}}}
 
|label7  = Fish
 
|label7  = Fish
−
|data7    = {{{fish<includeonly>|</includeonly>}}}
+
|data7    = {{{fish|}}}
 
|label8  = Flower
 
|label8  = Flower
−
|data8    = {{{flower<includeonly>|</includeonly>}}}
+
|data8    = {{{flower|}}}
 
|label9  = Fruit
 
|label9  = Fruit
−
|data9    = {{{fruit<includeonly>|</includeonly>}}}
+
|data9    = {{{fruit|}}}
−
|label10  = [[List of Indian state trees|Tree]]
+
|label10  = {{#switch:{{{country}}}
−
|data10  = {{{tree<includeonly>|</includeonly>}}}
+
| India = [[List of Indian state trees|Tree]]
 +
| #default = Tree
 +
}}
 +
|data10  = {{{tree|}}}
 
|label11  = River
 
|label11  = River
−
|data11  = {{{river<includeonly>|</includeonly>}}}
+
|data11  = {{{river|}}}
 
|label12  = Sport
 
|label12  = Sport
−
|data12  = {{{sport<includeonly>|</includeonly>}}}
+
|data12  = {{{sport|}}}
 
|label13  = Costume
 
|label13  = Costume
−
|data13  = {{{costume<includeonly>|</includeonly>}}}
+
|data13  = {{{costume|}}}
−
}}<noinclude>
+
}}</includeonly><noinclude>
−
See also {{tl|Infobox U.S. state symbols}}
+
{{documentation|content=
 +
=== Usage ===
 +
<pre>
 +
{{Infobox
 +
| state    =
 +
| country  =
 +
| flag    =
 +
| emblem  =
 +
| language =
 +
| song    =
 +
| dance    =
 +
| animal  =
 +
| bird    =
 +
| fish    =
 +
| flower  =
 +
| fruit    =
 +
| tree    =
 +
| river    =
 +
| sport    =
 +
| costume  =
 +
}}
 +
</pre>
 +
=== Linking ===
 +
If the <code>country</code> parameter is set to <code>India</code>, the template will link to India specific lists of state symbols.
 +
 
 +
=== See also ===
 +
*  {{tl|Infobox U.S. state symbols}}
 +
 
 +
}}
 +
 
 +
[[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 01:23, 2 January 2012

Template documentation

Usage

{{Infobox
| state    = 
| country  = 
| flag     =
| emblem   = 
| language = 
| song     = 
| dance    = 
| animal   =
| bird     =
| fish     =
| flower   =
| fruit    =
| tree     =
| river    =
| sport    =
| costume  =
}}

Linking

If the country parameter is set to India, the template will link to India specific lists of state symbols.

See also