Template:ProductionDayLead/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "'''{{tlx|{{PAGENAME}}}}''' is a template that puts an automatic lead on every page that has a dab term of (releases). It's necessary to ensure that every date page fully ...")
 
No edit summary
 
Line 1: Line 1:
'''{{tlx|{{PAGENAME}}}}''' is a template that puts an automatic lead on every page that has a [[dab term]] of (releases).  It's necessary to ensure that every date page fully complies with [[T:LEADS]] and [[T:BOLD TEXT]], but also to make sure that the individual page can be transcluded ''elsewhere'' on the wiki ''without'' the lead.
'''{{tlx|{{PAGENAME}}}}''' is a template that puts an automatic lead on every page that has a [[dab term]] of (production).  It's necessary to ensure that every date page fully complies with [[T:LEADS]] and [[T:BOLD TEXT]], but also to make sure that the individual page can be transcluded ''elsewhere'' on the wiki ''without'' the lead.
== Usage ==
== Usage ==
To see this phenomenon in action, note what happens when [[3 January (releases)]] is transcluded here, using the following markup:
To see this phenomenon in action, note what happens when [[3 January (production)]] is transcluded here, using the following markup:
<pre>{{:3 January (production)}}</pre>
<pre>{{:3 January (production)}}</pre>
{{:3 January (production)}}
{{:3 January (production)}}

Latest revision as of 23:27, 14 June 2013

{{ProductionDayLead/doc}} is a template that puts an automatic lead on every page that has a dab term of (production). It's necessary to ensure that every date page fully complies with T:LEADS and T:BOLD TEXT, but also to make sure that the individual page can be transcluded elsewhere on the wiki without the lead.

Usage[[edit source]]

To see this phenomenon in action, note what happens when 3 January (production) is transcluded here, using the following markup:

{{:3 January (production)}}


Current text[[edit source]]

The current value of this template is:

{{ProductionDayLead/doc}} is a template that puts an automatic lead on every page that has a dab term of (production). It's necessary to ensure that every date page fully complies with T:LEADS and T:BOLD TEXT, but also to make sure that the individual page can be transcluded elsewhere on the wiki without the lead.

Usage[[edit source]]

To see this phenomenon in action, note what happens when 3 January (production) is transcluded here, using the following markup:

{{:3 January (production)}}


Current text[[edit source]]

The current value of this template is:

Template loop detected: Template:ProductionDayLead/doc

where ProductionDayLead/doc will be substituted by whatever the date is of the current page. So if you put it on 1 January (production), it'll read 1 January.


where ProductionDayLead/doc will be substituted by whatever the date is of the current page. So if you put it on 1 January (production), it'll read 1 January.