Difference between revisions of "Template:Pagecontributorsstatic"

From NY Science Standards Wiki
(Create static contributor list: same markup as Template:Pagecontributors, with a fixed set of names)
 
(Add a 1rem top margin to the box so it is not flush against a preceding list (same gap a paragraph gives))
 
Line 1: Line 1:
−
<div id="page-contributors">{{#fas:user-group}} Page contributors: [[User:Conradrichman|Conrad Richman]], [[User:Carolineleonard|Caroline Leonard]], [[User:Shirleyshameen|Shirley Shameen]]</div><noinclude>
+
<div id="page-contributors" style="margin-top:1rem">{{#fas:user-group}} Page contributors: [[User:Conradrichman|Conrad Richman]], [[User:Carolineleonard|Caroline Leonard]], [[User:Shirleyshameen|Shirley Shameen]]</div><noinclude>
 
Static version of [[Template:Pagecontributors]]. The regular template builds its list automatically from the page history (<nowiki>{{PAGEAUTHORS}}</nowiki>); this one shows a fixed list, for pages whose contributors are not all reflected in the edit history. It renders exactly the same box.
 
Static version of [[Template:Pagecontributors]]. The regular template builds its list automatically from the page history (<nowiki>{{PAGEAUTHORS}}</nowiki>); this one shows a fixed list, for pages whose contributors are not all reflected in the edit history. It renders exactly the same box.
  

Latest revision as of 18:47, 23 October 2026

Static version of Template:Pagecontributors. The regular template builds its list automatically from the page history ({{PAGEAUTHORS}}); this one shows a fixed list, for pages whose contributors are not all reflected in the edit history. It renders exactly the same box.

Usage: at the bottom of the page, replace {{Pagecontributors}} with {{Pagecontributorsstatic}}.

To change who is listed, or the order, edit this template. Every page that uses it updates at once.