Difference between revisions of "Template:ID"

(Created page with "<noinclude>This wraps a word or phrase in a simple span with an id tag. *<nowiki>{{ID|foo}}</nowiki> **<span id="foo">foo</span> *<nowiki>{{ID|foo|bar}}</nowiki>...")
 
Line 7: Line 7:
 
**&lt;span id="foo"&gt;bar&lt;/span&gt;
 
**&lt;span id="foo"&gt;bar&lt;/span&gt;
  
</noinclude>
+
</noinclude><includeonly><span id="{{{1}}}">{{{2|{{{1}}}}}}</span></includeonly>
<includeonly><span id="{{{1}}}">{{{2|{{{1}}}}}}</span></includeonly>
 

Revision as of 00:03, 15 March 2017

This wraps a word or phrase in a simple span with an id tag.

  • {{ID|foo}}
    • <span id="foo">foo</span>
  • {{ID|foo|bar}}
    • <span id="foo">bar</span>