Template:PeopleYearLead/doc

From Tardis Wiki, the free Doctor Who reference

{{PeopleYearLead/doc}} is a template that puts an automatic lead on every year page that has a dab term of (people). 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 1991 (people) is transcluded here, using the following markup:

{{:1991 (people)}}


Current text[[edit source]]

The current value of this template is:

{{PeopleYearLead/doc}} is a template that puts an automatic lead on every year page that has a dab term of (people). 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 1991 (people) is transcluded here, using the following markup:

{{:1991 (people)}}


Current text[[edit source]]

The current value of this template is:

Template loop detected: Template:PeopleYearLead/doc

where PeopleYearLead/doc will be substituted by whatever the date is of the current page. So if you put it on 1991 (people), it'll read 1991.


where PeopleYearLead/doc will be substituted by whatever the date is of the current page. So if you put it on 1991 (people), it'll read 1991.