Difference between revisions of "Template:Chessgloss/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ihardlythinkso
m (corr)
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 4: Line 4:
 
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|zugzwang]]). 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}}.  
 
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|zugzwang]]). 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>{{Sandbox other||<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
 
[[Category:Chess templates|Chess glossary]]
 
[[Category:Chess templates|Chess glossary]]
 
[[Category:Glossary link templates]]
 
[[Category:Glossary link templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 04:34, 24 April 2020

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 zugzwang). The optional 2nd parameter is for alternative text, e.g. {{chessgloss|zugzwang|compelled to move}} yields compelled to move.