Template:FPCgloss

From Wikipedia, the free encyclopedia
Jump to: navigation, search

[[Wikipedia:Featured picture candidates/Glossary#{{{1}}}|{{{1}}}]]

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

The {{FPCgloss}} template is used to create links from a word or phrase to corresponding entry in the Wikipedia:Featured picture candidates/Glossary page. It makes proper use of the <dfn> HTML element (as documented at the parent meta-template, {{glossary link}}).

Usage[edit]

Syntax:

  • {{FPCgloss|term in glossary|text in article}}

This template makes it very simple to add links, in FPC nominations to entries in the Wikipedia:Featured picture candidates/Glossary. It takes one or two parameters, depending on needs, as detailed below.

Wikitext:

The only technical flaw I can see is some green-magenta {{FPCgloss|CA|chromatic aberration}} but that's not too serious.

Result:

The only technical flaw I can see is some green-magenta chromatic aberration but that's not too serious.

The first parameter is the exact name of the term to be linked to in Wikipedia:Featured picture candidates/Glossary (or any alias of it as defined in the glossary with {{anchor}}), and the second parameter is the text string to be wikilinked from in the article. For example, in this case the term to be defined is covered at Wikipedia:Featured picture candidates/Glossary#ca, so CA is the first parameter.

The second parameter is optional if the text string to be wikilinked from in the article is exactly the same (including case, plurality, etc.) as the glossary term (or alternative {{anchor}}}} in the first parameter:

The only technical flaw I can see is some green-magenta {{FPCgloss|CA}} but that's not too serious.

Result:

The only technical flaw I can see is some green-magenta ca but that's not too serious.