Template:BattleHonour/doc
| This is a documentation subpage for Template:BattleHonour. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
TAKE NOTE: The template has changed and all the Battle Honour codes must have
- All spaces replace with underscores ( -> _)
- All dashes replaced with underscores (- -> _)
- All slashes replaced with underscores (/ -> _ )
Usage
The default use provides Battle Honours linked to the relevant article for the award. By default, the South African set of awards is used:
{{BattleHonour|SWA15|SWA14_15|XX|YY}}produces:
| Awarded |
|---|
| Unknown: YY Please see the Template:BattleHonour for help |
Unlinked and/or custom-linked Battle Honours
To list Battle Honours without links and/or with customised linking, use |unlinked= or |list= (or |battlehonour=):
{{BattleHonour|unlinked=SWA15 SWA14_15}}produces:
{{BattleHonour|list=SWA15, SWA14_15}}produces:
| Awarded |
|---|
Image size
The optional |size= parameter allows for changing the size of the image:
{{BattleHonour|size=x12px|SWA15|SWA14_15}}
| Awarded |
|---|
Data
All data is now stored in Module-space
Available Battle Honours
| Code | Name | Image | Description |
|---|---|---|---|
| Acroma_Keep | Acroma Keep | Acroma Keep | |
| Alamein_Box | Alamein Box | Alamein Box | |
| Alamein_Defence | Alamein Defence | Alamein Defence | |
| Alem_Hamza | Alem Hamza | Alem Hamza | |
| Alem_el_Halfa | Alem el Halfa | Alem el Halfa | |
| Allerona | Allerona | Allerona | |
| Amba_Alagi | Amba Alagi | Amba Alagi | |
| Arras | Arras | Arras | |
| Bagno_Regio | Bagno Regio | Bagno Regio | |
| Bangui | Bangui | Bangui | |
| Bardia | Bardia | Bardia | |
| Basutoland_1880_81 | Basutoland 1880-81 | Basutoland 1880-81 | |
| Bechuanaland_1896_97 | Bechuanaland 1896-97 | Bechuanaland 1896-97 | |
| Bechuanaland_1897 | Bechuanaland 1897 | Bechuanaland 1897 | |
| Behobeho | Behobeho | File:Behobeho Embroidered.png | Behobeho |
| Best_Post | Best Post | Best Post | |
| Bir_Sciafsciuf | Bir Sciafsciuf | File:Bir Sciafsciuf Embroidered.png | Bir Sciafsciuf |
| Bir_Temrad | Bir Temrad | Bir Temrad | |
| Calueque | Calueque | Calueque | |
| Cambrai_1918 | Cambrai 1918 | File:Cambrai 1918 Embroidered.png | Cambrai 1918 |
| Campo_Santo_Bridge | Campo Santo Bridge | File:Campo Santo Bridge Embroidered.png | Campo Santo Bridge |
| Cape_of_Good_Hope | Cape of Good Hope | File:Cape of Good Hope Embroidered.png | Cape of Good Hope |
| Casino_II | Casino II | Casino II | |
| Cassinga_Chetequera | Cassinga/Chetequera | File:Cassinga-Chetequera Embroidered.png | Cassinga/Chetequera |
| Catarelto_Ridge | Catarelto Ridge | Catarelto Ridge | |
| Celleno | Celleno | Celleno | |
| Chiusi | Chiusi | Chiusi | |
| Citta_delia_Pieve | Citta delia Pieve | File:Citta delia Pieve Embroidered.png | Citta delia Pieve |
| Combolcia | Combolcia | Combolcia | |
| Commonwealth_Keep | Commonwealth Keep | Commonwealth Keep | |
| Cuito_Cuanaval | Cuito Cuanaval | Cuito Cuanaval | |
| Dadaba | Dadaba | Dadaba | |
| Defence_of_Kimberley | Defence of Kimberley | Defence of Kimberley | |
| Defence_of_Ladysmith | Defence of Ladysmith | Defence of Ladysmith | |
| Delville_Wood | Delville Wood | Delville Wood | |
| Diredawa | Diredawa | File:Diredawa Embroidered.png | Diredawa |
| East_Africa_1916_17 | East Africa 1916-17 | File:East Africa 1916-17 Embroidered.png | East Africa 1916-17 |
| East_Africa_1916_18 | East Africa 1916-18 | File:East Africa 1916-18 Embroidered.png | East Africa 1916-18 |
| East_Africa_1917_18 | East Africa 1917-18 | File:East Africa 1917-18 Embroidered.png | East Africa 1917-18 |
| East_Africa_1940_41 | East Africa 1940-41 | East Africa 1940-41 | |
| Egypt_1916 | Egypt 1916 | Egypt 1916 | |
| El_Alamein | El Alamein | El Alamein | |
| El_Mughar | El Mughar | El Mughar | |
| El_Wak | El Wak | El Wak | |
| El_Yibo | El Yibo | El Yibo | |
| Florence | Florence | Florence | |
| France_and_Flanders_1916_18 | France and Flanders 1916-18 | France and Flanders 1916-18 | |
| France_and_Flanders_1918 | France and Flanders 1918 | File:France and Flanders 1918 Embroidered.png | France and Flanders 1918 |
| Gaika_Gcaleka_1877 | Gaika Gcaleka 1877 | Gaika Gcaleka 1877 | |
| Gaza | Gaza | Gaza | |
| Gazala | Gazala | Gazala | |
| German_East_Africa_1916_18 | German East Africa 1916-18 | German East Africa 1916-18 | |
| Gibeon | Gibeon | Gibeon | |
| Gothic_Line | Gothic Line | Gothic Line | |
| Griqualand_West_1878 | Griqualand West 1878 | Griqualand West 1878 | |
| Halfaya | Halfaya | Halfaya | |
| Hindenburg_Line | Hindenburg Line | File:Hindenburg Line Embroidered.png | Hindenburg Line |
| Italy_1944_45 | Italy 1944-45 | Italy 1944-45 | |
| Kemmel | Kemmel | File:Kemmel Embroidered.png | Kemmel |
| Kilimanjaro | Kilimanjaro | File:Kilimanjaro Embroidered.png | Kilimanjaro |
| Kunene | Kunene | Kunene | |
| La_Foce | La Foce | La Foce | |
| Le_Transloy | Le Transloy | File:Le Transloy Embroidered.png | Le Transloy |
| Lys | Lys | File:Lys Embroidered.png | Lys |
| Madagascar | Madagascar | Madagascar | |
| Madagascar_1942 | Madagascar 1942 | Madagascar 1942 | |
| Mavinga_II | Mavinga II | Mavinga II | |
| Mavinga_III | Mavinga III | Mavinga III | |
| Mega | Mega | File:Mega Embroidered.png | Mega |
| Megiddo | Megiddo | File:Megiddo Embroidered.png | Megiddo |
| Menin_Road | Menin Road | File:Menin Road Embroidered.png | Menin Road |
| Mersa_Belafarit | Mersa Belafarit | Error creating thumbnail: | Mersa Belafarit |
| Messines_1918 | Messines 1918 | File:Messines 1918 Embroidered.png | Messines 1918 |
| Monte_Fili | Monte Fili | Monte Fili | |
| Monte_Pezza | Monte Pezza | Monte Pezza | |
| Monte_Porro_del_Bagno | Monte Porro del Bagno | Monte Porro del Bagno | |
| Monte_Querciabella | Monte Querciabella | File:Monte Querciabella Embroidered.png | Monte Querciabella |
| Monte_Salvaro | Monte Salvaro | Monte Salvaro | |
| Monte_Stanco | Monte Stanco | Monte Stanco | |
| Monte_Vigese | Monte Vigese | Monte Vigese | |
| Mulemba_Mulola | Mulemba/Mulola | Mulemba/Mulola | |
| Nablus | Nablus | File:Nablus Embroidered.png | Nablus |
| Narungombe | Narungombe | Narungombe | |
| Natal_1906 | Natal 1906 | XNatal 1906X | |
| Nebi_Samwil | Nebi Samwil | Nebi Samwil | |
| Nyangao | Nyangao | File:Nyangao Embroidered.png | Nyangao |
| Palestine_1918 | Palestine 1918 | File:Palestine 1918 Embroidered.png | Palestine 1918 |
| Paliano | Paliano | Paliano | |
| Po_Valley | Po Valley | Po Valley | |
| Point_204 | Point 204 | Point 204 | |
| Pursuit_to_Mons | Pursuit to Mons | File:Pursuit to Mons Embroidered.png | Pursuit to Mons |
| Qattara_Track | Qattara Track | File:Qattara Track Embroidered.png | Qattara Track |
| Relief_of_Ladysmith | Relief of Ladysmith | Relief of Ladysmith | |
| Rhodesia_1967_75 | Rhodesia 1967-75 | Rhodesia 1967-75 | |
| Rome | Rome | Rome | |
| Sambre | Sambre | Sambre | |
| Sarteano | Sarteano | Sarteano | |
| Scarpe_1917 | Scarpe 1917 | Scarpe 1917 | |
| Selle | Selle | Selle | |
| Sharon | Sharon | Sharon | |
| Sidi_Rezegh | Sidi Rezegh | Sidi Rezegh | |
| Sole_Caprara | Sole/Caprara | Sole/Caprara | |
| Sollum | Sollum | Sollum | |
| Somme_1916 | Somme 1916 | Somme 1916 | |
| South_Africa_1879 | South Africa 1879 | South Africa 1879 | |
| South_Africa_1899_1902 | South Africa 1899-1902 | South Africa 1899-1902 | |
| SWA14_15 | South West Africa 1914–1915 | South West Africa 1914–1915 | |
| South_West_Africa_1914_1915 | South West Africa 1914–1915 | South West Africa 1914–1915 | |
| SWA15 | South West Africa 1915 | South West Africa 1915 | |
| South_West_Africa_1915 | South West Africa 1915 | South West Africa 1915 | |
| South_West_Africa_Angola_1975_1976 | South West Africa/Angola 1975-1976 | South West Africa/Angola 1975-1976 | |
| South_West_Africa_Angola_1976_1989 | South West Africa/Angola 1976-1989 | South West Africa/Angola 1976-1989 | |
| South_West_Africa_Zambia_1979 | South West Africa/Zambia 1979 | South West Africa/Zambia 1979 | |
| Springbok_Road | Springbok Road | Springbok Road | |
| Taieb_el_Essem | Taieb el Essem | File:Taieb el Essem Embroidered.png | Taieb el Essem |
| Tel_Asur | Tel Asur | Tel Asur | |
| The_Greve | The Greve | The Greve | |
| The_Juba | The Juba | The Juba | |
| The_Tiber | The Tiber | The Tiber | |
| Tobruk | Tobruk | Tobruk | |
| Transkei_1877_78 | Transkei 1877-78 | Transkei 1877-78 | |
| Transkei_1879 | Transkei 1879 | Transkei 1879 | |
| Transkei_1880_81 | Transkei 1880-81 | Transkei 1880-81 | |
| Umzintzani | Umzintzani | Umzintzani | |
| Wepener | Wepener | File:Wepener Embroidered.png | Wepener |
| Western_Desert_1941_43 | Western Desert 1941-43 | Western Desert 1941-43 | |
| Xangongo_Ongiva | Xangongo/Ongiva | Xangongo/Ongiva | |
| Yonte | Yonte | File:Yonte Embroidered.png | Yonte |
| Ypres_1917 | Ypres 1917 | Ypres 1917 |
TemplateData
Show a Unit's Battle Honours cleanly and with links to the relevant articles. The limit at the moment is forty.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1st Battle Honour | 1 | A Battle Honour to show with a link to the relevant page.
| String | suggested |
| 2nd Battle Honour | 2 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 3rd Battle Honour | 3 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 4th Battle Honour | 4 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 5th Battle Honour | 5 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 6th Battle Honour | 6 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 7th Battle Honour | 7 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 8th Battle Honour | 8 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 9th Battle Honour | 9 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 10th Battle Honour | 10 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 11th Battle Honour | 11 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 12th Battle Honour | 12 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 13th Battle Honour | 13 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 14th Battle Honour | 14 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 15th Battle Honour | 15 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 16th Battle Honour | 16 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 17th Battle Honour | 17 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 18th Battle Honour | 18 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 19th Battle Honour | 19 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| 20th Battle Honour | 20 | A Battle Honour to show with a link to the relevant page.
| String | optional |
| Size | size | At what size to show the images in the list. Useful for InfoBox usage
| String | optional |