Difference between revisions of "Template:Canada topic"

From blackwiki
Jump to navigation Jump to search
imported>Moxy
(restore consensus colors)
imported>117Avenue
(link by province or territory)
Line 7: Line 7:
 
|belowstyle = color:black;background-color:white;border-top: 1px solid #CC0000;
 
|belowstyle = color:black;background-color:white;border-top: 1px solid #CC0000;
 
|name      = Canada topic
 
|name      = Canada topic
|title      = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;{{#if:{{{2|}}}|<!--then:--><font color=#00006E>[[{{{2}}}]]</font>|<!--else:--><font color=#00006E>[[{{{1|}}} Canada]]</font>}} (by <font color=#00006E>[[Provinces and territories of Canada|province or territory]]</font>)
+
|title      = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;{{#if:{{{2|}}}|<!--then:--><font color=#00006E>[[{{{2}}}]]</font>|<!--else:--><font color=#00006E>[[{{{1|}}} Canada]]</font>}} (by <font color=#00006E>[[{{#ifexist:{{str crop|{{{1}}}|2}} by province or territory|{{str crop|{{{1}}}|2}} by province or territory|Provinces and territories of Canada}}|province or territory]]</font>)
 
|listclass  = hlist
 
|listclass  = hlist
 
|list1      =  
 
|list1      =  

Revision as of 03:13, 10 November 2012

  • First parameter: Prefix for topic in question (e.g. Geography of)
  • Second parameter: Unlinked title, if different from "First parameter of Canada". (e.g. Canada's Geography)
  • provinces_only set as provinces_only=true to not display the territories.

fa:الگو:موضوع کانادا ms:Templat:Canada topic pt:Predefinição:Canadá tópico ru:Шаблон:Канада по регионам