Template:EditionBlock: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
Line 1: Line 1:
{{#if: {{{re|}}}|<div class="edition-target re-content">
{{#if: {{{re|}}}|<div class="edition-target re-content">
{{{re}}}
{{{re}}}
</div>|}}
</div>|}}{{#if: {{{le|}}}|<div class="edition-target le-content">
{{#if: {{{le|}}}|<div class="edition-target le-content">
{{{le}}}
{{{le}}}
</div>|}}
</div>|}}{{#if: {{{dx|}}}|<div class="edition-target dx-content">
{{#if: {{{dx|}}}|<div class="edition-target dx-content">
{{{dx}}}
{{{dx}}}
</div>|}}
</div>|}}{{#if: {{{fc|}}}|<div class="edition-target fc-content">
{{#if: {{{fc|}}}|<div class="edition-target fc-content">
{{{fc}}}
{{{fc}}}
</div>|}}<noinclude>
</div>|}}<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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Regular Editionre

Content specific to the work's Regular Edition.

Contentsuggested
Limited Editionle

Content specific to the work's Limited Edition.

Contentsuggested
Deluxe Editiondx

Content specific to the work's Deluxe and/or Limited Reservation Edition.

Contentsuggested
Fan Club Editionfc

Content specific to the work's Fan Club Edition.

Contentoptional