Difference between revisions of "Template:British Army Officer Ranks/doc"

From blackwiki
Jump to navigation Jump to search
imported>Terasail
(Reduced complexity; Added new parameter)
imported>Terasail
(Update)
Line 2: Line 2:
  
 
==Requirements==
 
==Requirements==
This table template has references within it and requires reference or equivelent section in the page it is being applied to.
+
This table template has a reference and a note within it and requires reference or equivelent section in the page it is being applied to.
Templates to add reference section:
+
Add a notes section below diretly the template and ensure that there is a reference section as shown below:
 
<pre>
 
<pre>
 +
===Note===
 +
{{NoteFoot}}
 +
 
==References==
 
==References==
 
{{Reflist}}
 
{{Reflist}}
Line 11: Line 14:
 
==Parameters==
 
==Parameters==
 
===Optional Parameters===
 
===Optional Parameters===
*<code>|Title=</code> Applied an existing title to the top of the table.
+
*<code>|Title=</code> Applies a title to the top of the table.
*<code>|TitleText=</code> Uses the custom title entered to this parameter.
 
:'''Important''': This requires that the title parameter to have a value.
 
*<code>|Extension=</code> Removes the ending of the table allowing the table to be expanded.
 
:'''Important''': The following must be applied at the end of the extra table code.<pre>|}</div></pre>
 
  
 
==Examples==
 
==Examples==
Line 24: Line 23:
 
<pre>{{British Army Officer Rank|Title=Y}}</pre>
 
<pre>{{British Army Officer Rank|Title=Y}}</pre>
 
{{British Army Officer Rank|Title=Y}}
 
{{British Army Officer Rank|Title=Y}}
===Custom Title===
 
<pre>{{British Army Officer Rank|Title=Y|TitleText=<span style="color:DarkCyan; font-family:Comic Sans MS;">New British Army Table Title</span>}}</pre>
 
{{British Army Officer Rank|Title=Y|TitleText=<span style="color:DarkCyan; font-family:Comic Sans MS;">New British Army Table Title</span>}}
 
===Extension===
 
<pre>{{British Army Officer Rank|Extension=Y}}
 
|-
 
!Numbering
 
|1
 
|2{{Notetag|2 is double 1}}
 
|3
 
|4{{Notetag|4 is an even number}}
 
|5
 
|6
 
|7
 
|colspan=3|8-11
 
|12
 
|}</div>
 
====Notes====
 
{{NoteFoot}}</pre>
 
{{British Army Officer Rank|Extension=Y}}
 
|-
 
!Numbering
 
|1
 
|2{{Notetag|2 is double 1}}
 
|3
 
|4{{Notetag|4 is an even number}}
 
|5
 
|6
 
|7
 
|colspan=3|8-11
 
|12
 
|}</div>
 
====Notes====
 
{{NoteFoot}}
 
  
 
==References==
 
==References==

Revision as of 16:58, 16 August 2020

This is a template for showing a table of the British Army Officer ranks and epaulettes. The table can be expanded on pages allowing for more information to be associated with the ranks. The basic table can be added to a page with

{{British Army Officer Rank}}

Requirements

This table template has a reference and a note within it and requires reference or equivelent section in the page it is being applied to. Add a notes section below diretly the template and ensure that there is a reference section as shown below:

===Note===
{{NoteFoot}}

==References==
{{Reflist}}

Parameters

Optional Parameters

  • |Title= Applies a title to the top of the table.

Examples

Standard Template

{{British Army Officer Rank}}
  1. REDIRECT Template:British Army Officer Ranks

Title

{{British Army Officer Rank|Title=Y}}
  1. REDIRECT Template:British Army Officer Ranks

References