Wikipedia:Wikipedia Signpost/Templates/Signpost-header: Difference between revisions
Content deleted Content added
tweak |
add invert |
||
(29 intermediate revisions by 12 users not shown) | |||
Line 1:
<templatestyles src="Wikipedia:Wikipedia Signpost/Templates/master.css" /><!--
--><div class="signpost-header nomobile noprint"><!--
--><div class="signpost-header-heading"><!--
-->[[File:Signpost2.svg|center|alt=The Signpost|link=Wikipedia:Wikipedia Signpost|class=skin-invert]]<!--
--></div><!--
--><div class="signpost-header-subheadings"><!--
--><div class="signpost-header-volume"><!--
-->{{#if: {{{1}}} | {{{1}}} | [[Wikipedia:Wikipedia Signpost/Archives/{{#titleparts: {{BASEPAGENAMEE}} | 1 | 2 }}|← Back to Contents]] }}<!--
--></div><!--
--><div class="signpost-header-issue"><!--
-->{{#if: {{{3}}} | {{{3}}} | [[Wikipedia:Wikipedia Signpost|View Latest Issue]] }}<!--
--></div><!--
--><span class="signpost-header-date"><!--
-->{{#if: {{{2}}} | {{{2}}} | <time class="dt-published" datetime="{{#titleparts: {{BASEPAGENAME}} | 1 | 2 }}">[[Wikipedia:Wikipedia Signpost/Archives/{{#titleparts: {{BASEPAGENAME}} | 1 | 2 }}|{{#formatdate:{{#titleparts: {{BASEPAGENAME}} | 1 | 2 }}|dmy}}]]</time> }}<!--
--><br /><!--
--></span><!--
--></div><!--
--><br /><!--
--><div class="signpost-header-subsubheadings"><!--
--></div><!--
--></div>
<includeonly><!--
# Categories:
-->{{#ifeq: {{NAMESPACE}} | Wikipedia <!-- If in the Wikipedia namespace
--> | {{#if: {{{2|}}} <!-- If param #2 is supplied
--> | <!-- Don't categorise when there's a manual date/middle-title or if the page name is not in date format. Subpage title must begin "20", the first 2 chars of a year (note this is a future Y2100 bug ;)
--> | {{#ifeq:{{#invoke:String|sub|{{#titleparts:{{BASEPAGENAME}}| 1 | 2 }}|1|2}} | 20 | [[Category:Wikipedia Signpost archives {{#time: Y-m | {{#titleparts:{{BASEPAGENAME}}| 1 | 2 }} }} ]] <!-- include recent pages in rss feed category: --> {{#ifexpr: {{#time:U|now - 2 months}} < {{#time:U| {{#titleparts:{{BASEPAGENAME}}| 1 | 2 }} }} | [[Category:Wikipedia Signpost RSS feed]] }} <!-- match subpagename
--> | <!--not a date-->}}<!--
-->}}<!-- End if param #2 supplied
-->}}<!-- End if in the Wikipedia namespace
--></includeonly><noinclude>{{Documentation}}
{{pp-template}}
[[Category:Wikipedia Signpost templates|{{SUBPAGENAME}}]]
</noinclude>
|