Template:FPCgloss/doc: Difference between revisions

Jump to navigation Jump to search
clean up
m (1 revision)
 
(clean up)
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
The {{tlx|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 <code><nowiki><dfn></nowiki></code> HTML element (as documented at the parent meta-template, {{tl|glossary link}}).
The {{tlx|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 <code><nowiki><dfn></nowiki></code> HTML element (as documented at the parent meta-template, {{tl|glossary link}}).


==Usage==
==Usage==
Line 7: Line 7:
Syntax:
Syntax:
*{{tlx|FPCgloss|<var>term in glossary</var>|<var>text in article</var>}}
*{{tlx|FPCgloss|<var>term in glossary</var>|<var>text in article</var>}}
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.
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:
Wikitext:
Line 17: Line 17:
:The only technical flaw I can see is some green-magenta {{FPCgloss|CA|chromatic aberration}} but that's not too serious.
:The only technical flaw I can see is some green-magenta {{FPCgloss|CA|chromatic aberration}} but that's not too serious.


The first parameter is the <em>exact</em> 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 {{tlx|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 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 {{tlx|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 {{tnull|anchor}}}} in 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 {{tnull|anchor}}}} in the first parameter:
Line 29: Line 29:
<includeonly>
<includeonly>
<!-- CATEGORIES HERE, THANKS -->
<!-- CATEGORIES HERE, THANKS -->
[[Category:Wikipedia featured content templates|{{PAGENAME}}]]
[[Category:Sarkarverse featured content templates|{{PAGENAME}}]]
[[Category:Glossary templates|{{PAGENAME}}]]
[[Category:Glossary templates|{{PAGENAME}}]]
</includeonly>
</includeonly>
14,061

edits

Navigation menu