Wikipedia:Wikipedia Signpost/Templates/Signpost-header: Difference between revisions

Content deleted Content added
Pretzels (talk | contribs)
mNo edit summary
add invert
 
(46 intermediate revisions by 17 users not shown)
Line 1:
<templatestyles src="Wikipedia:Wikipedia Signpost/Templates/master.css" /><!--
<div style="border-bottom:1px solid #DDD;"><div style="background-position:center -15px; border-bottom:3px double #BBB; border-top:3px double #BCBCBC; background-color:#FFF; padding-bottom:15px; padding-top:15px;"><div style="font-family:Wedding Text, Linotext, Old English Text MT, serif; font-size:58px; line-height:69px">[[File:WikipediaSignpostHead.svg|center|580px|The Wikipedia Signpost|link=Wikipedia:Wikipedia Signpost]]</div>
--><div class="signpost-header nomobile noprint"><!--
<div style="font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif; font-size:95%; background-color:transparent; border:none; color:#666; width:500px; margin-left:auto; margin-right:auto; text-align:center;"><div style="font-variant: small-caps; width:33%; float:left; text-align:left; margin-top:3px;">'''{{#if: {{{1}}} | {{{1}}} | [[Wikipedia:Wikipedia Signpost/Archives/{{#titleparts: {{BASEPAGENAMEE}} | 1 | 2 }}|&larr; Back to Contents]] }}'''</div><div style="font-variant: small-caps; width:33%; float:right; text-align:right; margin-top:3px;">'''{{#if: {{{3}}} | {{{3}}} | [[Wikipedia:Wikipedia Signpost|View Latest Issue]] }}'''</div><span style="white-space:nowrap; line-height:120%; font-size:155%; color:#333;">{{#if: {{{2}}} | {{{2}}} | {{SUBPAGENAME}} }}</span></div>
--><div class="signpost-header-heading"><!--
</div></div>
-->[[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 }}|&larr; 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--></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>