Difference between revisions of "Template:Chessprobgloss/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ihardlythinkso
m (+cat)
imported>Ihardlythinkso
m (consistency w/ chessgloss)
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 problems]]. For example, <nowiki>{{chessprobgloss|key}}</nowiki> targets the same as <nowiki>[[Glossary of chess problems#key|key]]</nowiki>. Only the cursor hover infos differ (compare {{chessprobgloss|key}} and [[Glossary of chess problems#key|key]]). The optional 2nd parm is for alternative text, e.g. <nowiki>{{chessprobgloss|key|solution}}</nowiki> yields {{chessprobgloss|key|solution}}.  
+
This template is used to conveniently index into the [[Glossary of chess problems]] article. For example, <code><nowiki>{{chessprobgloss|key}}</nowiki></code> targets the same as <code><nowiki>[[Glossary of chess problems#key|key]]</nowiki></code>. Only the cursor hover infos differ (compare {{chessprobgloss|key}} and [[Glossary of chess problems#key|key]]). The optional 2nd parm is for alternative text, e.g. <code><nowiki>{{chessprobgloss|key|solution}}</nowiki></code> yields {{chessprobgloss|key|solution}}.  
  
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

Revision as of 00:02, 10 January 2018

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