Wikipedia:Wikipedia Signpost/Templates/Signpost-article-header-v2/doc: Difference between revisions
Content deleted Content added
fix categorization |
No edit summary |
||
Line 8:
The type of article will be displayed on the line above the title according to the [[Wikipedia:Page_name#sub|subpage name]], so create e.g. as Wikipedia:Wikipedia_Signpost/YYYY-MM-DD/Op-ed if the title should be "Op-ed".
=== Styles and classes ===
(incomplete)
There are five non-displaying metadata fields:
<syntaxhighlight lang="wikitext">
<div style="display:none;">
<div class="signpost-piccyfilename">{{Plain text|1={{{piccyfilename|}}}}}</div>
<div class="signpost-piccy-credits">{{Plain text|1={{{piccy-credits|}}}}}</div>
<div class="signpost-piccy-license">{{Plain text|1={{{piccy-license|}}}}}</div>
<div class="signpost-piccy-xoffset">{{Plain text|1={{{piccy-xoffset|}}}}}</div>
<div class="signpost-piccy-yoffset">{{Plain text|1={{{piccy-yoffset|}}}}}</div>
<div class="signpost-piccy-scaling">{{Plain text|1={{{piccy-scaling|}}}}}</div>
</div>
</syntaxhighlight>
These pass through the params for piccy metadata; even though they aren't displayed on the article page, they make the text appear so that it can be searched or extracted by external applications.
If the <code>piccyfilename</code> param is embedded, there's also a hidden 1px embed of it, which causes it to register as in-use (and avoid Commons deletions).
<includeonly>{{Sandbox other||
|