Welcome to Wars Wiki! |
---|
Welcome to Wars Wiki. Please log in or create an account to make changes. |
Template:Faction Infobox: Difference between revisions
From Wars Wiki
Jump to navigationJump to search
m (Added games parameter to replace existing game# parameters) |
(Added new logo and image parameters to display faction logo and map) |
||
Line 3: | Line 3: | ||
! colspan="2" | <big><big>{{{country}}}</big></big> | ! colspan="2" | <big><big>{{{country}}}</big></big> | ||
|- | |- | ||
| colspan="2" style="background: #FFFFFF; padding: 15px; text-align: center" | <!-- Keeping this here so that infobox using the older parameters still work --> | ||
{{#if:{{{imagename|}}}| | |||
{{!}} colspan="2" style="background: #FFFFFF; padding: 15px; text-align: center" {{!}} [[File:{{{imagename}}}|{{{imagesize|120px}}}]]<br><small>{{{caption}}}</small>}} | |||
|- | |||
{{#if:{{{logo|}}}| | |||
{{!}} colspan="2" style="background: #FFFFFF; text-align: center; padding: 0" {{!}} <!-- | |||
-->{{#if:{{{logo|}}}|<div style="padding: 6px; width: auto;">[[File:{{{logo|}}}|80px|center|Logo]]</div>|}}<!-- | |||
-->{{#if:{{{image|}}}|[[File:{{{image|}}}|300px]]{{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''</small>}}|}} | |||
}} | |||
|- | |- | ||
! width="50%" style="text-align: right; background: {{cc-color|{{{country|Black Hole}}}|light}}" | Commanding Officers: | ! width="50%" style="text-align: right; background: {{cc-color|{{{country|Black Hole}}}|light}}" | Commanding Officers: | ||
Line 18: | Line 26: | ||
|- | |- | ||
! style="text-align: right; background: {{cc-color|{{{country|Black Hole}}}|light}}" | Appears in: | ! style="text-align: right; background: {{cc-color|{{{country|Black Hole}}}|light}}" | Appears in: | ||
| style="background: #FFFFFF" | {{{games|}}}{{{game1}}}<!-- | | style="background: #FFFFFF" | {{#if:{{{games|}}}|{{{games|}}}|}}{{#if:{{{game1|}}}|{{{game1}}}|}}<!-- | ||
-->{{#if:{{{game2|}}}|<br>{{{game2}}}}}<!-- | -->{{#if:{{{game2|}}}|<br>{{{game2}}}}}<!-- | ||
-->{{#if:{{{game3|}}}|<br>{{{game3}}}}}<!-- | -->{{#if:{{{game3|}}}|<br>{{{game3}}}}}<!-- |
Revision as of 19:17, 23 June 2023
{{{country}}} | |
---|---|
Commanding Officers: | [[{{{CO1}}}]] |
Appears in: |
Usage
{{Country Infobox |countrycolor= |countryname= |imagename= |caption= |CO1= |CO2= |CO3= |CO4= |CO5= |game1= |game2= |game3= |game4= }} |
- countrycolor - as it appears on "Template:(country) color"
- countryname - name of the article
- imagename - name of the relevant image (include file extension (.png, .jpg, ...))
- caption - enter a caption for the country image
- CO1, ... CO10 - the names of the Commanding Officers associated with that country (currently accepts up to 10)
- game1, ... game4 - the names of each game that this country has appeared in (currently accepts up to 4)