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>|}}{{#if: {{{le|}}}|<div class="edition-target le-content">
</div>|}}
{{#if: {{{le|}}}|<div class="edition-target le-content">
{{{le}}}
{{{le}}}
</div>|}}{{#if: {{{dx|}}}|<div class="edition-target dx-content">
</div>|}}
{{#if: {{{dx|}}}|<div class="edition-target dx-content">
{{{dx}}}
{{{dx}}}
</div>|}}{{#if: {{{fc|}}}|<div class="edition-target fc-content">
</div>|}}
{{#if: {{{fc|}}}|<div class="edition-target fc-content">
{{{fc}}}
{{{fc}}}
</div>|}}<noinclude>
</div>|}}<noinclude>

Revision as of 17:27, 22 April 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