Difference between revisions of "Template:House Link"

From Discovery Wiki
Jump to navigationJump to search
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude><!--</noinclude>{{#switch: {{{1}}}
 
<noinclude><!--</noinclude>{{#switch: {{{1}}}
| Liberty = [[image:Flag-libertyvector.gif|20px]] [[Liberty Republic|{{#switch: {{{2}}}
+
| Liberty = [[image:Flag-liberty.png|19px]] {{#switch: {{{2}}}  
| long = Liberty Republic
+
| long = [[Republic of Liberty]]
| #default = Liberty
+
| icon =
}}]]
+
| #default = [[Liberty Republic|Liberty]]
| Bretonia = [[image:Flag-bretoniavector.gif|18px]] [[Kingdom of Bretonia|{{#switch: {{{2}}}
+
}}
| long = Kingdom of Bretonia
+
| Bretonia = [[image:Flag-bretonia.png|19px]] {{#switch: {{{2}}}
| #default = Bretonia
+
| long = [[Kingdom of Bretonia]]
}}]]
+
| icon =
| Kusari = [[image:Flag-kusarivector.gif|28px]] [[Kusari Empire|{{#switch: {{{2}}}
+
| #default = [[Kingdom of Bretonia|Bretonia]]
| long = Kusari Empire
+
}}
| #default = Kusari
+
| Kusari = [[image:Flag-kusari.png|19px]] {{#switch: {{{2}}}
}}]]
+
| long = [[Kusari Empire]]
| Rheinland = [[image:Flag-rheinlandvector.gif|23px]] [[Federal Republic of Rheinland|{{#switch: {{{2}}}
+
| icon =
| long = Federal Republic of Rheinland
+
| #default = [[Kusari Empire|Kusari]]
| #default = Rheinland
+
}}
}}]]
+
| Rheinland = [[image:Flag-rheinland.png|19px]] {{#switch: {{{2}}}
| Gallia = [[image:Flag-galliavector.gif|16px]] [[Kingdom of Gallia|{{#switch: {{{2}}}
+
| long = [[Federal Republic of Rheinland]]
| long = Kingdom of Gallia
+
| long2 = [[Federal Republic of Rheinland|Republic of Rheinland]]
| #default = Gallia
+
| icon =
}}]]
+
| #default = [[Federal Republic of Rheinland|Rheinland]]
| Outcasts = [[image:Flag-outcastvector.gif|19px]] [[{{#switch: {{{2}}}
+
}}
| long = Nación Maltesa
+
| Gallia = [[image:Flag-gallia.png|19px]] {{#switch: {{{2}}}
| #default = Outcasts
+
| long = [[Kingdom of Gallia]]
}}]]
+
| icon =
| Corsairs = [[image:Flag-corsairvector.gif|19px]] [[{{#switch: {{{2}}}
+
| #default = [[Kingdom of Gallia|Gallia]]
| long = Imperio del Corsario
+
}}
| #default = Corsairs
+
| Outcasts = [[image:Flag-outcasts.png|19px]] {{#switch: {{{2}}}
}}]]
+
| long = [[Outcasts|Nación Maltesa]]
 +
| icon =
 +
| #default = [[Outcasts]]
 +
}}
 +
| Corsairs = [[image:Flag-corsairs.png|19px]] {{#switch: {{{2}}}
 +
| long = [[Corsairs|Imperio del Corsario]]
 +
| icon =
 +
| #default = [[Corsairs]]
 +
}}
 +
| Nomads = [[image:Flag-nomads3.png|19px]] {{#switch: {{{2}}}
 +
| long = [[Slomon K'Hara]]
 +
| icon =
 +
| #default = [[Slomon K'Hara|Nomads]]
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
-->
 
-->
Line 40: Line 53:
 
* Outcasts
 
* Outcasts
 
* Corsairs
 
* Corsairs
 +
* Nomads
 
You can also add the "long" parametre, to display the full house name:
 
You can also add the "long" parametre, to display the full house name:
<pre><nowiki>{{House Link | Bretonia | long}}</nowiki></pre>
+
<pre><nowiki>
 +
{{House Link | Rheinland}}
 +
 
 +
{{House Link | Liberty | long}}
 +
 
 +
{{House Link | Bretonia | icon}}</nowiki></pre>
 
==Result==
 
==Result==
{{House Link | Rheinland}}<br>
+
{{House Link | Rheinland}}<br /><br />
{{House Link | Bretonia | long}}
+
{{House Link | Liberty | long}}<br /><br />
 
+
{{House Link | Bretonia | icon}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:46, 6 November 2012

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 Republic of Liberty

Flag-bretonia.png