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

Content deleted Content added
document this freaking thing
 
Line 1:
{{Documentation subpage}}
== Usage ==
This is invoked as such:
 
* <code><nowiki>{{Signpost archive|2023-07-17|2023-08-01|2023-08-15}}
</nowiki></code>
 
 
This summons a TemplateStyles from [[Wikipedia:Wikipedia Signpost/Templates/Signpost-header/styles.css]] and uses it to style and create the Signpost header.
 
Line 11 ⟶ 17:
*** <code>signpost-header-date</code> (date of issue, in center, e.g. "15 August 2023")
** <code>signpost-header-subsubheadings</code> (empty div -- this can be used for whatever nonsense by the frontend)
 
Note that <code>signpost-header-volume</code>, <code>signpost-header-issue</code> and <code>signpost-header-date</code> can actually just be whatever random stuff -- and, in fact, some templates (like {{tl|Signpost archive}}) ''do'' call the header template with stuff other than volumes and issues in those locations.
 
<includeonly>{{Sandbox other||