Difference between revisions of "Template:M1 year in topic"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Wbm1058
(either Wikidata is not accurate or this edit doesn't work correctly. Obviously there is a page Commons:Category:500 as the documentation demonstrates)
Line 1: Line 1:
 
{{M1YearInTopic (no calendar)<noinclude>|500</noinclude>}}
 
{{M1YearInTopic (no calendar)<noinclude>|500</noinclude>}}
 
{{Year in various calendars|<noinclude>year=500</noinclude>{{ #if: {{{japanese|}}} |japanese={{{japanese}}}}}|{{ #if: {{{footnotes|}}} |footnotes={{{footnotes}}} }} }}<!--
 
{{Year in various calendars|<noinclude>year=500</noinclude>{{ #if: {{{japanese|}}} |japanese={{{japanese}}}}}|{{ #if: {{{footnotes|}}} |footnotes={{{footnotes}}} }} }}<!--
-->{{#if:{{#property:P373}}|{{Commons category|1=<noinclude>500</noinclude><includeonly>{{{{{|safesubst:}}}#invoke:String|replace|source={{{1|{{PAGENAME}}}}}|AD ||1}}</includeonly> |2=<noinclude>500</noinclude><includeonly>{{PAGENAME}}</includeonly> }}}}<noinclude>
+
-->{{Commons category|1=<noinclude>500</noinclude><includeonly>{{{{{|safesubst:}}}#invoke:String|replace|source={{{1|{{PAGENAME}}}}}|AD ||1}}</includeonly> |2=<noinclude>500</noinclude><includeonly>{{PAGENAME}}</includeonly> }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Revision as of 21:47, 1 February 2017

Template:Year in various calendarsTemplate:Sister project

Template documentation[view] [edit] [history] [purge]

Usage

This template produces a box with various links about the year specified by the title of the page it is placed on. {{M1YearInTopic (no calendar)}}. It also includes the {{Year in various calendars}} sidebar and the {{Commons category}} template. It is used on articles about the years AD 11000, i.e. the years of the 1st millennium. This page shows the output produced when the template is placed on the page 500, as an example.

Syntax

{{M1 year in topic}} There are no parameters.

See also