Difference between revisions of "Template:AFM roll of honour"

From blackwiki
Jump to navigation Jump to search
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://www.afm-veterans-uk.info/roll-of-honour.php?SerialNo={{{id}}}
+
|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

Template documentation[view] [edit] [history] [purge]

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=yes to disable wikilinks and prevent overlinking, i.e. if the template is used more than once in an article
  • mode: (optional) set |mode=cs2 to 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