https://nordiclarp.org/w/index.php?title=Template:Side_box/doc&feed=atom&action=history
Template:Side box/doc - Revision history
2024-03-29T07:35:51Z
Revision history for this page on the wiki
MediaWiki 1.34.2
https://nordiclarp.org/w/index.php?title=Template:Side_box/doc&diff=8851&oldid=prev
Johannes Axner: /* Parameters */
2018-12-29T17:28:49Z
<p><span dir="auto"><span class="autocomment">Parameters</span></span></p>
<table class="diff diff-contentalign-left" 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: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 17:28, 29 December 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l19" >Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>! Parameter !! Description</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>! Parameter !! Description</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; 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>| metadata || Set as {{para|metadata|no}} to suppresses the [[Meta element|HTML "metadata" class]].</div></td><td class='diff-marker'>+</td><td style="color: #222; 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>| metadata || Set as {{para|metadata|no}} to suppresses the [[<ins class="diffchange diffchange-inline">Wikipedia:</ins>Meta element|HTML "metadata" class]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>| position || Set as {{para|position|left}} to position the box on the lefthand rather than righthand side of the page and remove the float.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>| position || Set as {{para|position|left}} to position the box on the lefthand rather than righthand side of the page and remove the float.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; 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>| class || [[CSS]] [[HTML attribute|class]]es to apply to the box.</div></td><td class='diff-marker'>+</td><td style="color: #222; 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>| class || [[<ins class="diffchange diffchange-inline">Wikipedia:CSS|</ins>CSS]] [[<ins class="diffchange diffchange-inline">Wikipedia:</ins>HTML attribute|class]]es to apply to the box.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; 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>| style || [[CSS styles]] to apply to the box.</div></td><td class='diff-marker'>+</td><td style="color: #222; 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>| style || [[<ins class="diffchange diffchange-inline">Wikipedia:CSS styles|</ins>CSS styles]] to apply to the box.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>| abovestyle || CSS styles to apply to the "above" cell (see next parameter) only.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>| abovestyle || CSS styles to apply to the "above" cell (see next parameter) only.</div></td></tr>
</table>
Johannes Axner
https://nordiclarp.org/w/index.php?title=Template:Side_box/doc&diff=8173&oldid=prev
Johannes Axner: 1 revision imported
2018-12-29T13:51:27Z
<p>1 revision imported</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:51, 29 December 2018</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Johannes Axner
https://nordiclarp.org/w/index.php?title=Template:Side_box/doc&diff=8172&oldid=prev
en>Pppery: Add lua box
2018-06-04T20:50:33Z
<p>Add lua box</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --><br />
{{High-risk| 835000+ }}<br />
{{lua|Module:Side box}}<br />
<div style="clear:right;margin-top:1.0em;"><br />
{{Side box |metadata=No<br />
| above = '''''above''''' content appears here, in a separate row above the main text area<br />
| image = {{smaller|('''''image''''')}} <br />
| text = '''''text''''' content, the box's main content, appears here<br />
| imageright = {{longitem|font-size:90%|('''''image<br/>right'''''{{hsp}})}}<br />
| below = '''''below''''' content appears here, in a separate row below the main text area<br />
}}<br />
{{Template shortcut |Sidebox}}<br />
This template is a meta-template that can be used to create nicely-styled floating content boxes (see example directly opposite).<br />
</div><br />
<br />
===Parameters===<br />
{| class="wikitable"<br />
! Parameter !! Description<br />
|-<br />
| metadata || Set as {{para|metadata|no}} to suppresses the [[Meta element|HTML "metadata" class]].<br />
|-<br />
| position || Set as {{para|position|left}} to position the box on the lefthand rather than righthand side of the page and remove the float.<br />
|-<br />
| class || [[CSS]] [[HTML attribute|class]]es to apply to the box.<br />
|-<br />
| style || [[CSS styles]] to apply to the box.<br />
|-<br />
| abovestyle || CSS styles to apply to the "above" cell (see next parameter) only.<br />
|-<br />
| above || Content to appear in a separate row above the main cell (and spanning the entire width of the box).<br />
|-<br />
| image || A full image tag (or other content); if this is not present or set as {{code|none}}, no image is displayed.<br />
|-<br />
| textstyle || CSS styles to apply to the text cells only.<br />
|-<br />
| text || Text to display in the box.<br />
|-<br />
| imageright || A full image tag (or other content) to display in a separate table cell on the box's righthand side.<br />
|-<br />
| below || Content to appear in a separate row underneath the main cell (and spanning the entire width of the box).<br />
|-<br />
|}<br />
<br />
===See also===<br />
{{Lua|Module:Side box}}<br />
* {{tl|Mbox}}<br />
* {{tl|Sidebar box}}<br />
<br />
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |<br />
| <!--CATEGORIES BELOW THIS LINE, PLEASE:--><br />
[[Category:Box templates]]<br />
[[Category:Wikipedia metatemplates]]<br />
}}</includeonly></div>
en>Pppery