Difference between revisions of "Template:Chessgloss/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(+cat.)
imported>SMcCandlish
m (minor cleanup)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
This template is used to conveniently index into [[Glossary of chess]]. For example, <nowiki>{{chessgloss|zugzwang}}</nowiki> targets the same as <nowiki>[[Glossary of chess#zugzwang|zugswang]]</nowiki>. Only the cursor hover infos differ (compare {{chessgloss|zugzwang}} and [[Glossary of chess#zugzwang|zugswang]]). The optional 2nd parm is for alternative text, e.g. <nowiki>{{chessgloss|zugzwang|compelled to move}}</nowiki> yields {{chessgloss|zugzwang|compelled to move}}.  
+
This template is used to conveniently index into the [[Glossary of chess]] article. For example, <code><nowiki>{{chessgloss|zugzwang}}</nowiki></code> targets the same as <code><nowiki>[[Glossary of chess#zugzwang|zugswang]]</nowiki></code>. Only the cursor hover infos differ (compare {{chessgloss|zugzwang}} and [[Glossary of chess#zugzwang|zugswang]]). The optional 2nd parameter is for alternative text, e.g. <code><nowiki>{{chessgloss|zugzwang|compelled to move}}</nowiki></code> yields {{chessgloss|zugzwang|compelled to move}}.  
  
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
 
[[Category:Chess templates|Chess glossary]]
 
[[Category:Chess templates|Chess glossary]]
[[Category:Glossary link templates|Chess]]
+
[[Category:Glossary link templates]]
 
</includeonly>
 
</includeonly>

Revision as of 19:01, 9 January 2018

This template is used to conveniently index into the Glossary of chess article. For example, {{chessgloss|zugzwang}} targets the same as [[Glossary of chess#zugzwang|zugswang]]. Only the cursor hover infos differ (compare zugzwang and zugswang). The optional 2nd parameter is for alternative text, e.g. {{chessgloss|zugzwang|compelled to move}} yields compelled to move.