Open main menu

Changes

Template:Header

4,930 bytes added, 08:29, 4 August 2019
no edit summary
-->'''<span id="header_title_text">{{{title|Untitled}}}</span>''' <!--
 
 
{{{publication date}}}
 
 
Year-->{{#if:{{{year|}}}{{{override_year|}}}<!--
<div style="display:table-row;"><!--
faux TD-->
<div class="searchaux" style="display:table-cell;"><!--
 
check if page is connected to Wikidata (#ifeq)
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity<!--
 
if page is not connected to Wikidata, only show plain sister if at least one of its parameters is filled in
-->|{{#if:<!--
-->{{{disambiguation|}}}<!--
-->{{{edition|}}}<!--
-->{{{portal|}}}<!--
-->{{{related_author|}}}<!--
-->{{{wikipedia|}}}<!--
-->{{{commons|}}}<!--
-->{{{commonscat|}}}<!--
-->{{{wikiquote|}}}<!--
-->{{{wikinews|}}}<!--
-->{{{wiktionary|}}}<!--
-->{{{wikibooks|}}}<!--
-->{{{wikilivres|}}}<!--
-->{{{wikidata|}}}<!--
-->{{{wikivoyage|}}}<!--
-->{{{wikiversity|}}}<!--
-->{{{wikispecies|}}}<!--
-->{{{meta|}}}<!--
 
-->|<!--
 
-->{{Plain sister<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
-->| portal = {{{portal|}}}<!--
-->| related_author = {{{related_author|}}}<!--
-->| wikipedia = {{{wikipedia|}}}<!--
-->| commons = {{{commons|}}}<!--
-->| commonscat = {{{commonscat|}}}<!--
-->| wikiquote = {{{wikiquote|}}}<!--
-->| wikinews = {{{wikinews|}}}<!--
-->| wiktionary = {{{wiktionary|}}}<!--
-->| wikibooks = {{{wikibooks|}}}<!--
-->| wikilivres = {{{wikilivres|}}}<!--
-->| wikidata = {{{wikidata|}}}<!--
-->| wikivoyage = {{{wikivoyage|}}}<!--
-->| wikiversity = {{{wikiversity|}}}<!--
-->| wikispecies = {{{wikispecies|}}}<!--
-->| meta = {{{meta|}}}<!--
-->}}<!--
 
-->}}<!--
 
if page is connected to Wikidata, always show plain sister
-->|{{Plain sister<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
-->| portal = {{{portal|}}}<!--
-->| related_author = {{{related_author|}}}<!--
-->| wikipedia = {{{wikipedia|}}}<!--
-->| commons = {{{commons|}}}<!--
-->| commonscat = {{{commonscat|}}}<!--
-->| wikiquote = {{{wikiquote|}}}<!--
-->| wikinews = {{{wikinews|}}}<!--
-->| wiktionary = {{{wiktionary|}}}<!--
-->| wikibooks = {{{wikibooks|}}}<!--
-->| wikilivres = {{{wikilivres|}}}<!--
-->| wikidata = {{{wikidata|}}}<!--
-->| wikivoyage = {{{wikivoyage|}}}<!--
-->| wikiversity = {{{wikiversity|}}}<!--
-->| wikispecies = {{{wikispecies|}}}<!--
-->| meta = {{{meta|}}}<!--
-->}}<!--
 
end #ifeq
-->}}<!--
 
Shortcut link
-->{{#if:{{{shortcut|}}}|{{Shortcut|{{{shortcut}}}}}}}<!--
 
Notes from parameter
-->{{{notes}}}<!--
 
close faux TD-->
</div><!--
 
close faux TR-->
</div><!--
 
close faux TBODY-->
</div><!--
 
close faux TABLE-->
</div><!--
 
END OF VISIBLE TEMPLATE
 
MICROFORMAT DATA-->
<includeonly><div id="ws-data" class="ws-noexport" style="display:none; speak:none;"><!--
 
--><span id="ws-article-id">{{{{{|safesubst:}}}PAGEID}}</span><!--
 
--><span id="ws-title">{{{title|}}}{{#if:{{{section|}}}|&#32;— ''{{{section}}}''}}</span><!--
 
-->{{#if:{{{author|}}}{{{override_author|}}}<!--
-->|<span id="ws-author"><!--
-->{{#if:{{{override_author|}}}<!--
-->|{{{override_author}}}<!--
-->|{{{author}}}<!--
-->}}<!--
--></span><!--
-->|<!--
-->}}<!--
 
 
-->{{#if:{{{translator|}}}{{{override_translator|}}}<!--
-->|<span id="ws-translator"><!--
-->{{#if:{{{override_translator|}}}<!--
-->|{{{override_translator}}}<!--
-->|{{{translator}}}<!--
-->}}<!--
--></span><!--
-->|<!--
-->}}<!--
 
 
-->{{#if:{{{year|}}}{{{override_year|}}}<!--
-->|<span id="ws-year"><!--
-->{{#if:{{{override_year|}}}<!--
-->|{{{override_year}}}<!--
-->|{{{year}}}<!--
-->}}<!--
--></span><!--
-->|<!--
-->}}<!--
 
END OF MICROFORMAT DATA-->
</div><!--
 
Subpages
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
}}}}<!--
 
Categories:
-->{{#if:{{{categories|}}}
 
|<!-- Replace each string that ends in a slash with a category definition.
This does include the final one because we're adding a slash to the input string.
-->{{#invoke:String|replace|{{{categories}}}/|([^/]+)/*|[[Category:%1]]||plain=false }}<!--
 
-->}}<!--
 
Track pages using the author override
-->{{#if:{{{override_author|}}}|[[Category:Pages with override author]]}}<!--
 
Track pages using contributor
-->{{#if:{{{contributor|}}}|[[Category:Pages with contributor]]}}<!--
 
Track pages using override_contributor
-->{{#if:{{{override_contributor|}}}|[[Category:Pages with override contributor]]}}<!--
 
Track pages with no author given
-->{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}<!--
 
Track pages using shortcuts
-->{{#if:{{{shortcut|}}}|[[Category:Mainspace pages with shortcuts]]}}<!--
Track pages using the year override options
-->{{#if:{{{override_year|}}}|[[Category:Pages with override year]]}}<!--
-->{{#if:{{{noyear|}}}|[[Category:Pages with noyear]]}}<!--
-->{{#if:{{{noyearcat|}}}|[[Category:Pages with noyearcat]]}}<!--
END OF NON-VISIBLE CONTENT