https://wiki.ldraw.org/index.php?title=Template:Pre&feed=atom&action=history
Template:Pre - Revision history
2024-03-28T19:16:34Z
Revision history for this page on the wiki
MediaWiki 1.40.0
https://wiki.ldraw.org/index.php?title=Template:Pre&diff=4199&oldid=prev
Owen Burgoyne: Minor code fix
2015-01-24T16:57:01Z
<p>Minor code fix</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 16:57, 24 January 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</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><p style="width:auto; border:1px solid #DDDDDD; border-radius:2px; background-color:#F9F9F9; font-family:monospace; padding:1em; line-height:1.15; margin-bottom:1em; white-space:pre-wrap; word-wrap:break-word">{{{1}}}</p><noinclude></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><p style="width:auto; border:1px solid #DDDDDD; border-radius:2px; background-color:#F9F9F9; font-family:monospace; padding:1em; line-height:1.15; margin-bottom:1em<ins style="font-weight: bold; text-decoration: none;">; overflow:auto</ins>; white-space:pre-wrap; word-wrap:break-word">{{{1}}}</p><noinclude></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>==Usage==</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>==Usage==</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><pre>{{pre|text}}</pre></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><pre>{{pre|text}}</pre></div></td></tr>
</table>
Owen Burgoyne
https://wiki.ldraw.org/index.php?title=Template:Pre&diff=4198&oldid=prev
Owen Burgoyne: Created page with "<p style="width:auto; border:1px solid #DDDDDD; border-radius:2px; background-color:#F9F9F9; font-family:monospace; padding:1em; line-height:1.15; margin-bottom:1em; white-spa..."
2015-01-24T16:55:18Z
<p>Created page with "<p style="width:auto; border:1px solid #DDDDDD; border-radius:2px; background-color:#F9F9F9; font-family:monospace; padding:1em; line-height:1.15; margin-bottom:1em; white-spa..."</p>
<p><b>New page</b></p><div><p style="width:auto; border:1px solid #DDDDDD; border-radius:2px; background-color:#F9F9F9; font-family:monospace; padding:1em; line-height:1.15; margin-bottom:1em; white-space:pre-wrap; word-wrap:break-word">{{{1}}}</p><noinclude><br />
==Usage==<br />
<pre>{{pre|text}}</pre><br />
This is an updated version of the {{code|<nowiki><pre></nowiki>}} tag, which dynamically alters text based on the width of the element.<br />
<br />
Text is displayed as would be expected with the {{code|<nowiki><pre></nowiki>}} tag, but any lines that are too long to display are simply wrapped to the next line, rather than overflowing or disappearing.<br />
[[Category:Formatting templates]]<br />
</noinclude></div>
Owen Burgoyne