Difference between revisions of "Template:House Link"

From Discovery Wiki
Jump to navigationJump to search
m (link fix)
(test)
Line 2: Line 2:
 
| Liberty = [[image:Flag-liberty.png|19px]] [[Liberty Republic|{{#switch: {{{2}}}
 
| Liberty = [[image:Flag-liberty.png|19px]] [[Liberty Republic|{{#switch: {{{2}}}
 
| long = Liberty Republic
 
| long = Liberty Republic
 +
| icon =
 
| #default = Liberty
 
| #default = Liberty
 
}}]]
 
}}]]
 
| Bretonia = [[image:Flag-bretonia.png|19px]] [[Kingdom of Bretonia|{{#switch: {{{2}}}
 
| Bretonia = [[image:Flag-bretonia.png|19px]] [[Kingdom of Bretonia|{{#switch: {{{2}}}
 
| long = Kingdom of Bretonia
 
| long = Kingdom of Bretonia
 +
| icon =
 
| #default = Bretonia
 
| #default = Bretonia
 
}}]]
 
}}]]
 
| Kusari = [[image:Flag-kusari.png|19px]] [[Kusari Empire|{{#switch: {{{2}}}
 
| Kusari = [[image:Flag-kusari.png|19px]] [[Kusari Empire|{{#switch: {{{2}}}
 
| long = Kusari Empire
 
| long = Kusari Empire
 +
| icon =
 
| #default = Kusari
 
| #default = Kusari
 
}}]]
 
}}]]
 
| Rheinland = [[image:Flag-rheinland.png|19px]] [[Federal Republic of Rheinland|{{#switch: {{{2}}}
 
| Rheinland = [[image:Flag-rheinland.png|19px]] [[Federal Republic of Rheinland|{{#switch: {{{2}}}
 
| long = Federal Republic of Rheinland
 
| long = Federal Republic of Rheinland
 +
| icon =
 
| #default = Rheinland
 
| #default = Rheinland
 
}}]]
 
}}]]
 
| Gallia = [[image:Flag-gallia.png|19px]] [[Kingdom of Gallia|{{#switch: {{{2}}}
 
| Gallia = [[image:Flag-gallia.png|19px]] [[Kingdom of Gallia|{{#switch: {{{2}}}
 
| long = Kingdom of Gallia
 
| long = Kingdom of Gallia
 +
| icon =
 
| #default = Gallia
 
| #default = Gallia
 
}}]]
 
}}]]
 
| Outcasts = [[image:Flag-outcasts.png|19px]] [[Outcasts|{{#switch: {{{2}}}
 
| Outcasts = [[image:Flag-outcasts.png|19px]] [[Outcasts|{{#switch: {{{2}}}
 
| long = Nación Maltesa
 
| long = Nación Maltesa
 +
| icon =
 
| #default = Outcasts
 
| #default = Outcasts
 
}}]]
 
}}]]
 
| Corsairs = [[image:Flag-corsairs.png|19px]] [[Corsairs|{{#switch: {{{2}}}
 
| Corsairs = [[image:Flag-corsairs.png|19px]] [[Corsairs|{{#switch: {{{2}}}
 
| long = Imperio del Corsario
 
| long = Imperio del Corsario
 +
| icon =
 
| #default = Corsairs
 
| #default = Corsairs
 
}}]]
 
}}]]
 
| Nomads = [[image:Flag-nomads3.png|19px]] [[Slomon K'Hara|{{#switch: {{{2}}}
 
| Nomads = [[image:Flag-nomads3.png|19px]] [[Slomon K'Hara|{{#switch: {{{2}}}
 
| long = Slomon K'Hara
 
| long = Slomon K'Hara
 +
| icon =
 
| #default = Nomads
 
| #default = Nomads
 
}}]]
 
}}]]
Line 49: Line 57:
 
{{House Link | Rheinland}}
 
{{House Link | Rheinland}}
  
{{House Link | Liberty | long}}</nowiki></pre>
+
{{House Link | Liberty | long}}
 +
 
 +
{{House Link | Bretonia | icon}}</nowiki></pre>
 
==Result==
 
==Result==
 
{{House Link | Rheinland}}<br><br>
 
{{House Link | Rheinland}}<br><br>
 
{{House Link | Liberty | long}}
 
{{House Link | Liberty | long}}
 
+
{{House Link | Bretonia | icon}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 00:51, 9 January 2010

Usage

{{House Link | Rheinland}}

The parameters that can be used are:

  • Liberty
  • Bretonia
  • Kusari
  • Rheinland
  • Gallia
  • Outcasts
  • Corsairs
  • Nomads

You can also add the "long" parametre, to display the full house name:

{{House Link | Rheinland}}

{{House Link | Liberty | long}}

{{House Link | Bretonia | icon}}

Result

Flag-rheinland.png Rheinland

Flag-liberty.png Liberty Republic Flag-bretonia.png [[Kingdom of Bretonia|]]