Шаблон:NPG name/док

Iz Vojne Enciklopedije
< Шаблон:NPG nameОво је најновија верзија ове странице; нема одобрених измена.
Пређи на навигацију Пређи на претрагу

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

This template generates an external link to the catalogue of the National Portrait Gallery (NPG) in London, England.

It allows a link from biographical articles to the NPG's list of portraits of that person.

Usage

No parameters (uses data from Wikidata):

{{NPG name}}

One parameter:

{{NPG name | ID }}
{{NPG name | id= ID }}

Two parameters:

{{NPG name | ID | NAME }}
{{NPG name | id= ID | name= NAME }}

Instructions

  1. Go to Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted and search for the person you want
  2. Click on the correct link to go to the details of a picture of the person you want. Be sure you are getting the right person
  3. Below the picture and its details, the sitter and the artist should both be listed.
  4. Click on the link for the sitter
  5. The page URL should look like:
    http://www.npg.org.uk/live/search/person.asp?LinkID=mp#####
    where "#####" indicates a number.
  6. Copy ONLY that number (be sure to remove the "mp" and to keep all the zeros)
  7. Add to the external links section the text:
    {{NPG name|id=#####|name=Name}}
    where "#####" is the number you've copied, and "Name" is the person's name

Examples

  1. Searching for "Harold Wilson", you will reach this page:
    http://www.npg.org.uk/live/search/portList.asp?search=sp&sText=Harold+Wilson
  2. Click on the link for the first picture
  3. Below the thumbnail picture, you will see the hyperlinked text:
    Sitter: (James) Harold Wilson, Baron Wilson of Rievaulx (1916-1995), Prime Minister.
  4. Click on the link
  5. The page URL should look like:
    http://www.npg.org.uk/collections/search/person.php?LinkID=mp04868
  6. Copy "04868" (be sure to remove the "mp" and to keep all the zeros)
  7. Add to the external links section the text:
    {{NPG name|id=04868|name=Harold Wilson}}

Note that, since this will almost certainly go on the external link section, you should add a * before the template text to include it as a list item.

One parameter

Usage:

{{NPG name | 04868 }}
{{NPG name | id= 04868 }}

Output:

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted на сајту NPG (језик: Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted)Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permittedLua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted на сајту NPG (језик: Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted)Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permittedLua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

Two parameters

Usage:

{{NPG name | 04868 | Harold Wilson }}
{{NPG name | id= 04868 | name= Harold Wilson }}

Output:

Harold Wilson на сајту NPG (језик: Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted)Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permittedLua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
Harold Wilson на сајту NPG (језик: Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted)Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permittedLua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

Template data

Ово је TemplateData документација за овај шаблон, коришћена у Визуелном уређивачу и у другим алаткама; погледајте месечни извештај о грешкама за овај шаблон.

TemplateData за NPG name

This template generates an external link to the catalogue of the National Portrait Gallery (NPG) in London, England.

Параметри шаблона

ПараметарОписВрстаСтатус
ID1 id

ID number used in the URL, including any leading zeros.

бројобавезно
Name2 name

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

текстнеобавезно

Tracking categories