Jump to content

Template:TableOC: Difference between revisions

From transformal GmbH
Created page with "<!-- ============================================ Vorlage:TableOC v260205r1 Outer column table wrapper for Preprint v7.16 Usage: {{TableOC}} {| class="wikitable" ... |} {{TableOC/End}} ============================================ --> <div class="preprint-table-oc-wrapper place-oc"{{#if:{{{id|}}}| id="{{{id|}}}"|}}{{#if:{{{portrait|}}}| data-portrait="{{{portrait|}}}"|}}}><noinclude> == Documentation == Wraps e..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- ============================================
<!-- ============================================
     Vorlage:TableOC v260205r1
     Vorlage:TableOC v260213r2
     Outer column table wrapper for Preprint v7.16
     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|&#32;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>


Table renders at 0.875em in outer column.
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).