Template:Nowrap/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! You type | ! You type | ||
! Generated HTML | |||
! Rendered output | |||
|- | |- | ||
| {{{{ROOTPAGENAME}}|<code><nowiki>{{nowrap|10 kg (22 lb)}}</nowiki></code>}} | | {{{{ROOTPAGENAME}}|<code><nowiki>{{nowrap|10 kg (22 lb)}}</nowiki></code>}} | ||
| <syntaxhighlight lang="html"><span style="white-space: nowrap;">10 kg (22 lb)</span></syntaxhighlight> | |||
| {{{{ROOTPAGENAME}}|10 kg (22 lb)}} | |||
|- | |- | ||
| {{{{ROOTPAGENAME}}|<code><nowiki>{{nowrap|1 Jan|2 Feb|3 Mar|4 Apr}}</nowiki></code>}} | | {{{{ROOTPAGENAME}}|<code><nowiki>{{nowrap|1 Jan|2 Feb|3 Mar|4 Apr}}</nowiki></code>}} | ||
<span style="white-space: nowrap;">3 Mar</span>, <span style="white-space: nowrap;">4 Apr</span></syntaxhighlight> | | <syntaxhighlight lang="html"><span style="white-space: nowrap;">1 Jan</span>, <span style="white-space: nowrap;">2 Feb</span>, <span style="white-space: nowrap;">3 Mar</span>, <span style="white-space: nowrap;">4 Apr</span></syntaxhighlight> | ||
| {{{{ROOTPAGENAME}}|1 Jan|2 Feb|3 Mar|4 Apr}} | |||
|} | |} | ||