Template:FPCgloss

From Sarkarverse
Jump to navigation Jump to search

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

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

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

Usage

Syntax:

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

This template makes it very simple to add links, in FPC nominations to entries in the Sarkarverse: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 Sarkarverse: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 Sarkarverse: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.