Template:EditionBlock: Difference between revisions
m (Aardvark moved page Template:ContentBlock to Template:EditionBlock without leaving a redirect) |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="edition-target re-content">{{{re | {{#if: {{{re|}}}|<div class="edition-target re-content"> | ||
{{{re}}} | |||
</div>|}}{{#if: {{{le|}}}|<div class="edition-target le-content"> | |||
{{{le}}} | |||
</div>|}}{{#if: {{{dx|}}}|<div class="edition-target dx-content"> | |||
{{{dx}}} | |||
</div>|}}{{#if: {{{fc|}}}|<div class="edition-target fc-content"> | |||
{{{fc}}} | |||
</div>|}}<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 27: | Line 35: | ||
} | } | ||
}, | }, | ||
"description": "This template automatically surrounds blocks of content with the necessary markup to work with the content toggle buttons. Use this template for long blocks of content on pages for multiple editions. " | "description": "This template automatically surrounds blocks of content with the necessary markup to work with the content toggle buttons. Use this template for long blocks of content on pages for multiple editions. ", | ||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:16, 3 June 2021
This template automatically surrounds blocks of content with the necessary markup to work with the content toggle buttons. Use this template for long blocks of content on pages for multiple editions.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Regular Edition | re | Content specific to the work's Regular Edition. | Content | suggested |
Limited Edition | le | Content specific to the work's Limited Edition. | Content | suggested |
Deluxe Edition | dx | Content specific to the work's Deluxe and/or Limited Reservation Edition. | Content | suggested |
Fan Club Edition | fc | Content specific to the work's Fan Club Edition. | Content | optional |