http://www.psdevwiki.com/ps4/history/Template:Nowrap/doc?feed=atom& Template:Nowrap/doc - Revision history 2024-03-28T23:41:57Z Revision history for this page on the wiki MediaWiki 1.39.6 http://www.psdevwiki.com/ps4/index.php?title=Template:Nowrap/doc&diff=265878&oldid=prev Euss at 03:58, 30 January 2014 2014-01-30T03:58:40Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:58, 30 January 2014</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l36">Line 36:</td> <td colspan="2" class="diff-lineno">Line 36:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Spaces at the beginning or end of the text will fall outside the no-wrap tag in the rendered text.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Spaces at the beginning or end of the text will fall outside the no-wrap tag in the rendered text.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;<del style="font-weight: bold; text-decoration: none;">includeonly</del>&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;<ins style="font-weight: bold; text-decoration: none;">noinclude</ins>&gt;[[Category:<ins style="font-weight: bold; text-decoration: none;">Templates</ins>]]&lt;/<ins style="font-weight: bold; text-decoration: none;">noinclude</ins>&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">&lt;!-- ADD CATEGORIES BELOW THIS LINE --&gt;</del></div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:<del style="font-weight: bold; text-decoration: none;">formatting and function templates</del>]]</div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">&lt;!-- ADD INTERWIKIS BELOW THIS LINE --&gt;</del></div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;/<del style="font-weight: bold; text-decoration: none;">includeonly</del>&gt;</div></td><td colspan="2" class="diff-side-added"></td></tr> </table> Euss http://www.psdevwiki.com/ps4/index.php?title=Template:Nowrap/doc&diff=1289&oldid=prev Anon at 03:46, 17 June 2013 2013-06-17T03:46:15Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:46, 17 June 2013</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42">Line 42:</td> <td colspan="2" class="diff-lineno">Line 42:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;!-- ADD INTERWIKIS BELOW THIS LINE --&gt;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;!-- ADD INTERWIKIS BELOW THIS LINE --&gt;</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/includeonly&gt;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/includeonly&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[Category:Templates]]</del></div></td><td colspan="2" class="diff-side-added"></td></tr> </table> Anon http://www.psdevwiki.com/ps4/index.php?title=Template:Nowrap/doc&diff=934&oldid=prev Anon: /* Usage */ 2013-06-15T17:35:22Z <p><span dir="auto"><span class="autocomment">Usage</span></span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:35, 15 June 2013</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9">Line 9:</td> <td colspan="2" class="diff-lineno">Line 9:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: {&amp;#123;nowrap| merry-go-round }}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: {&amp;#123;nowrap| merry-go-round }}</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: &lt;nowiki&gt;{{nowrap| [[4-part harmony]] }}&lt;/nowiki&gt;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: &lt;nowiki&gt;{{nowrap| [[4-part harmony]] }}&lt;/nowiki&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">The template names {&amp;#123;[[Template:j|'''j''']]}} (join) or {&amp;#123;[[Template:nobr|nobr]]}} or {&amp;#123;[[Template:Nobreak|nobreak]]}} may be used instead of "nowrap", as they are redirects to {&amp;#123;nowrap}}.</del></div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Examples ===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Examples ===</div></td></tr> </table> Anon http://www.psdevwiki.com/ps4/index.php?title=Template:Nowrap/doc&diff=932&oldid=prev Anon: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{tlx|Nowrap}} stops wrapping of specific text. It prevents word wraps (lin..." 2013-06-15T17:33:23Z <p>Created page with &quot;{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt; {{tlx|Nowrap}} stops wrapping of specific text. It prevents word wraps (lin...&quot;</p> <p><b>New page</b></p><div>{{Documentation subpage}}<br /> &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;<br /> <br /> {{tlx|Nowrap}} stops wrapping of specific text. It prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens (&quot;-&quot;). The size of the nowrapped text becomes the minimum width of that paragraph.<br /> <br /> ===Usage===<br /> :: {&amp;#123;nowrap|these words stay together}}<br /> :: {&amp;#123;nowrap|a, b, c, or d.}}<br /> :: {&amp;#123;nowrap| merry-go-round }}<br /> :: &lt;nowiki&gt;{{nowrap| [[4-part harmony]] }}&lt;/nowiki&gt;<br /> <br /> The template names {&amp;#123;[[Template:j|'''j''']]}} (join) or {&amp;#123;[[Template:nobr|nobr]]}} or {&amp;#123;[[Template:Nobreak|nobreak]]}} may be used instead of &quot;nowrap&quot;, as they are redirects to {&amp;#123;nowrap}}.<br /> <br /> === Examples ===<br /> {| class=wikitable<br /> |&quot;They held &lt;nowiki&gt;{{nowrap|10 kg (22 lb)}}&lt;/nowiki&gt; in total.&quot;<br /> &lt;br&gt;May render like this:<br /> :They held {{nowrap|10 kg (22 lb)}}&lt;br&gt;in total.<br /> &lt;br&gt;Or like this:<br /> :They held&lt;br&gt;10 kg (22 lb) in total.<br /> &lt;br&gt;But ''not'' render like this:<br /> :They held 10 kg (22 &lt;br&gt;lb) in total.<br /> <br /> | &quot;He encountered &lt;nowiki&gt;{{nowrap|a tiger}}&lt;/nowiki&gt; in the woods.&quot;<br /> &lt;br&gt;May render like this:<br /> :He encountered a tiger&lt;br&gt;in the woods.<br /> &lt;br&gt;Or like this:<br /> :He encountered&lt;br&gt;a tiger in the woods.<br /> &lt;br&gt;But ''not'' like this:<br /> :He encountered a&lt;br&gt;tiger in the woods.<br /> |}<br /> <br /> === Technical details ===<br /> The actual code that does the job is this HTML+CSS code:<br /> <br /> :&lt;code&gt;&lt;nowiki&gt;&lt;span style=&quot;white-space:nowrap&quot;&gt;This text will not wrap&lt;/span&gt;&lt;/nowiki&gt;&lt;/code&gt;<br /> <br /> Spaces at the beginning or end of the text will fall outside the no-wrap tag in the rendered text.<br /> <br /> &lt;includeonly&gt;<br /> &lt;!-- ADD CATEGORIES BELOW THIS LINE --&gt;<br /> [[Category:formatting and function templates]]<br /> <br /> &lt;!-- ADD INTERWIKIS BELOW THIS LINE --&gt;<br /> &lt;/includeonly&gt;<br /> [[Category:Templates]]</div> Anon