Difference between revisions of "Template:AFM roll of honour"
blackwiki>PC78 (fewer-links) |
blackwiki>Carcharoth (URL structure has changed, this should work) |
||
| Line 1: | Line 1: | ||
<includeonly>{{Cite web | <includeonly>{{Cite web | ||
| − | |url=http:// | + | |url=http://veterans.mod.uk/roll-of-honour.php?SerialNo={{{id}}} |
|title=Personal Details{{#if:{{{name|}}}|{{colon}} {{{name}}}|}} | |title=Personal Details{{#if:{{{name|}}}|{{colon}} {{{name}}}|}} | ||
|work={{#if:{{{fewer-links|}}}|Armed Forces Memorial|[[Armed Forces Memorial]]}} roll of honour | |work={{#if:{{{fewer-links|}}}|Armed Forces Memorial|[[Armed Forces Memorial]]}} roll of honour | ||
Revision as of 10:00, 30 August 2016
This template is used to provide links to personal details in the Armed Forces Memorial roll of honour at http://veterans.mod.uk/index.php.
Usage
{{AFM roll of honour|id=|name=|access-date=}}
- id: (required) the number found in the url for the person (see "Examples" below)
- name: (optional) the name of the person
- access-date: (optional) the date the information was retrieved from the website
- fewer-links: (optional) set
|fewer-links=yesto disable wikilinks and prevent overlinking, i.e. if the template is used more than once in an article - mode: (optional) set
|mode=cs2to make the template compatible with Citation Style 2; defaults to Citation Style 1
Examples
The url for Louis Mountbatten, 1st Earl Mountbatten of Burma is http://veterans.mod.uk/roll-of-honour.php?SerialNo=J2589
Extract the J2589 and use this number for the |id= parameter, i.e.
{{AFM roll of honour|id=J2589}}, which displays as
- "Personal Details". Armed Forces Memorial roll of honour. GOV.UK.
Other examples using the optional parameters:
{{AFM roll of honour|id=J2589|name=Mountbatten, Louis, Lord Mountbatten of Burma}}, which displays as
- "Personal Details: Mountbatten, Louis, Lord Mountbatten of Burma". Armed Forces Memorial roll of honour. GOV.UK.
{{AFM roll of honour|id=J2589|name=Mountbatten, Louis, Lord Mountbatten of Burma|access-date=10 November 2025}}, which displays as
- "Personal Details: Mountbatten, Louis, Lord Mountbatten of Burma". Armed Forces Memorial roll of honour. GOV.UK. Retrieved 10 November 2025.
{{AFM roll of honour|id=J2589|name=Mountbatten, Louis, Lord Mountbatten of Burma|access-date=10 November 2025|fewer-links=yes}}, which displays as
- "Personal Details: Mountbatten, Louis, Lord Mountbatten of Burma". Armed Forces Memorial roll of honour. GOV.UK. Retrieved 10 November 2025.
{{AFM roll of honour|id=J2589|name=Mountbatten, Louis, Lord Mountbatten of Burma|access-date=10 November 2025|mode=cs2}}, which displays as
- "Personal Details: Mountbatten, Louis, Lord Mountbatten of Burma", Armed Forces Memorial roll of honour, GOV.UK, retrieved 10 November 2025
See also
- {{CWGC}}
| The above documentation is transcluded from Template:AFM roll of honour/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |