Template:Show timeline: Difference between revisions
Template page
More actions
Redheadkelly (talk | contribs) m 1 revision imported |
Redheadkelly (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
For person pages:<br> | For person pages:<br> | ||
<code><nowiki>{{Show timeline|person}}</nowiki></code> | <code><nowiki>{{Show timeline|person}}</nowiki></code> | ||
For family pages:<br> | |||
<code><nowiki>{{Show timeline|family}}</nowiki></code> | |||
For place pages:<br> | For place pages:<br> | ||
| Line 18: | Line 21: | ||
[[Category:Query templates|timeline]] | [[Category:Query templates|timeline]] | ||
[[Category:Timeline templates]]}}</noinclude><includeonly>{{#ask: | [[Category:Timeline templates]]}}</noinclude><includeonly>{{#ask: | ||
{{#ifeq: {{{1}}}|person|[[Has person subject::{{FULLPAGENAME}}]] | {{#ifeq: {{{1}}}|person|[[Has person subject::{{FULLPAGENAME}}]][[Has subobject type::Timeline]] | ||
|{{#ifeq: {{{1}}}|place|[[Has place subject::{{FULLPAGENAME}}]] | |{{#ifeq: {{{1}}}|family|[[Has family subject::{{FULLPAGENAME}}]][[Has subobject type::Timeline]] | ||
|{{#ifeq: {{{1}}}|subobject|[[-Has subobject::{{FULLPAGENAME}}]] | |{{#ifeq: {{{1}}}|place|[[Has place subject::{{FULLPAGENAME}}]][[Has subobject type::Timeline]] | ||
|{{#ifeq: {{{1}}}|subobject|[[-Has subobject::{{FULLPAGENAME}}]][[Has subobject type::Timeline]] | |||
|{{#ifeq: {{{1}}}|related | |{{#ifeq: {{{1}}}|related | ||
|{{#ifeq: {{{2|}}}|person|[[Has related person::{{FULLPAGENAME}}]] | |{{#ifeq: {{{2|}}}|person|[[Has related person::{{FULLPAGENAME}}]][[Has subobject type::Timeline]] | ||
|{{#ifeq: {{{2|}}}|place|[[Has related place::{{FULLPAGENAME}}]] | |{{#ifeq: {{{2|}}}|place|[[Has related place::{{FULLPAGENAME}}]][[Has subobject type::Timeline]] | ||
|{{#ifeq: {{{2|}}}|topic|[[Has related topic::{{FULLPAGENAME}}]] | |{{#ifeq: {{{2|}}}|topic|[[Has related topic::{{FULLPAGENAME}}]][[Has subobject type::Timeline]] | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}} | |||
}} | }} | ||
}} | }} | ||
Latest revision as of 03:47, 31 August 2026
This template is used to populate the Timeline section of an article. It queries pages in the Source: namespace and pulls in any timeline item tagged with name of the page that includes this template.
For person pages:
{{Show timeline|person}}
For family pages:
{{Show timeline|family}}
For place pages:
{{Show timeline|place}}
For a section of related events or events 'of interest' on either a person or place page:
{{Show timeline|related|person}}
{{Show timeline|related|place}}
{{Show timeline|related|topic}}
For a page in the Source: namespace, to populate the Timeline section with all the events related to that source:
{{Show timeline|subobject}}