Template:NW2/doc: Difference between revisions
Template page
More actions
→Usage: Add example output |
Add support for {{NW2/sandbox}} |
||
| Line 1: | Line 1: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
{{TemplateBox | {{TemplateBox | ||
| name = NW2 | | name = NW2{{\s}} | ||
| mbox = | | mbox = | ||
{{Uses TemplateStyles|Template:Nowrap/styles.css|Template:Mono/styles.css}} | {{Uses TemplateStyles|Template:Nowrap/styles.css|Template:Mono/styles.css}} | ||
| Line 13: | Line 13: | ||
| usergroup = all | | usergroup = all | ||
| usage-notes = | | usage-notes = | ||
The order doesn't matter as long as the ''text'' goes last (e.g. {{tld|NW2|c|nw|''text''}} is the same as {{tld|NW2|nw|c|''text''}}). | The order doesn't matter as long as the ''text'' goes last (e.g. {{tld|NW2|c|nw|''text''}} is the same as {{tld|NW2{{\s}}|nw|c|''text''}}). | ||
* {{tld|NW2|c|''text''}} - nowrap + {{tag|plaincode=1|code|o}} | * {{tld|NW2{{\s}}|c|''text''}} - nowrap + {{tag|plaincode=1|code|o}} | ||
*: {{NW2|c|''text''}} | *: {{NW2{{\s}}|c|''text''}} | ||
* {{tld|NW2|tt|''text''}} - nowrap + {{tag|plaincode=1|tt|o}} | * {{tld|NW2{{\s}}|tt|''text''}} - nowrap + {{tag|plaincode=1|tt|o}} | ||
*: {{NW2|tt|''text''}} | *: {{NW2{{\s}}|tt|''text''}} | ||
* {{tld|NW2|nw|''text''}} - nowrap + {{xtag|plaincode=1|nowiki|o}} | * {{tld|NW2{{\s}}|nw|''text''}} - nowrap + {{xtag|plaincode=1|nowiki|o}} | ||
*: {{NW2|nw|''text''}} | *: {{NW2{{\s}}|nw|''text''}} | ||
* {{tld|NW2|c|nw|''text''}} - nowrap + {{tag|plaincode=1|code|o}} + {{xtag|plaincode=1|nowiki|o}} | * {{tld|NW2{{\s}}|c|nw|''text''}} - nowrap + {{tag|plaincode=1|code|o}} + {{xtag|plaincode=1|nowiki|o}} | ||
*: {{NW2|c|nw|''text''}} | *: {{NW2{{\s}}|c|nw|''text''}} | ||
* {{tld|NW2|nw|tt|''text''}} - nowrap + {{tag|plaincode=1|tt|o}} + {{xtag|plaincode=1|nowiki|o}} | * {{tld|NW2{{\s}}|nw|tt|''text''}} - nowrap + {{tag|plaincode=1|tt|o}} + {{xtag|plaincode=1|nowiki|o}} | ||
*: {{NW2|nw|tt|''text''}} | *: {{NW2{{\s}}|nw|tt|''text''}} | ||
Edge cases: | |||
* {{tld|NW2{{\s}}|tt|c|''text''}} → {{NW2{{\s}}|tt|c|''text''}} | |||
* {{tld|NW2{{\s}}|c|tt|''text''}} → {{NW2{{\s}}|c|tt|''text''}} | |||
| relieson = | | relieson = | ||