Template:TableOC: Difference between revisions
Appearance
OlafLangmack (talk | contribs) No edit summary |
OlafLangmack (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- ============================================ | <!-- ============================================ | ||
Vorlage:TableOC v260213r2 | |||
Outer column table wrapper for Preprint v7. | Outer column table wrapper for Preprint v7.17.2 | ||
Usage: | Usage: | ||
| Line 10: | Line 10: | ||
{{TableOC/End}} | {{TableOC/End}} | ||
============================================ --> | ============================================ --> | ||
<div class="preprint-table-oc-wrapper place-oc"{{#if:{{{id|}}}| id="{{{id|}}}"|}}{{#if:{{{portrait|}}}| data-portrait="{{{portrait|}}}"|}}}><noinclude> | <div class="preprint-table-oc-wrapper place-oc{{#ifeq:{{{size|}}}|small| place-small|}}"{{#if:{{{id|}}}| id="{{{id|}}}"|}}{{#if:{{{portrait|}}}| data-portrait="{{{portrait|}}}"|}}{{#if:{{{landscape|}}}| data-landscape="{{{landscape|}}}"|}}><noinclude> | ||
== Documentation == | == Documentation == | ||
| Line 25: | Line 25: | ||
</pre> | </pre> | ||
Font size: body default on desktop; 0.75em on Minerva (automatic). | |||
Optional: `size=small` for 0.875em (0.75em on Minerva). | |||
[[Category:Preprint]] | [[Category:Preprint]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:19, 15 February 2026
Documentation
Wraps existing tables to place them in the outer column (margin).
Usage
{{TableOC}}
{| class="wikitable"
|-
| Small margin table
|}
{{TableOC/End}}
Font size: body default on desktop; 0.75em on Minerva (automatic). Optional: `size=small` for 0.875em (0.75em on Minerva).