Template:Authors: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Written by: | <includeonly>{{#if:{{{Authors|}}}|<section class="authors noexcerpt">Written by: {{#arraymap:{{{Authors|}}} | ||
{{#arraymap:{{{Authors|}}} | |||
|, | |, | ||
|xyz | |xyz | ||
|{{#set:Authors=User:xyz}}[[User:xyz|{{#ask: [[User:xyz]] |?Has user name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | |{{#set:Authors=User:xyz}}[[User:xyz|{{#ask: [[User:xyz]] |?Has user name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | ||
|,  | |,  | ||
}} | }}{{#if:{{{Additional contributors|}}}|<nowiki>;</nowiki> additional contribution by: | ||
{{#arraymap:{{{Additional contributors|}}} | {{#arraymap:{{{Additional contributors|}}} | ||
|, | |, | ||
Line 12: | Line 10: | ||
|{{#set:Additional contributor=User:xyz}}[[User:xyz|{{#ask: [[User:xyz]] |?Has user name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | |{{#set:Additional contributor=User:xyz}}[[User:xyz|{{#ask: [[User:xyz]] |?Has user name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | ||
|,  | |,  | ||
}} | }}}}{{#ifeq: {{{Review complete}}} | Yes |{{#if:{{{Peer reviewer|}}}|<nowiki>;</nowiki> peer reviewer: | ||
{{#arraymap:{{{Peer reviewer|}}} | |||
|, | |||
|xyz | |||
|{{#set:Peer reviewer=User:xyz}}[[User:xyz|{{#ask: [[User:xyz]] |?Has user name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | |||
|,&thinsp | |||
}}}}{{#set:Review complete={{{Review complete}}}}}|{{#set:Review complete=No}}{{#if:{{{Peer reviewer|}}}|{{#set:Peer reviewer=User:{{{Peer reviewer}}}}}}}}}<nowiki> –</nowiki> created: {{#show: {{FULLPAGENAME}} |?Creation date#GR-F[j F Y]}}; last modified: {{#show: {{FULLPAGENAME}} |?Modification date#GR-F[j F Y]}} | |||
</section>}}</includeonly><noinclude>[[Category:Article Boxes]]<templatedata> | |||
{ | |||
"params": { | |||
"Authors": {}, | |||
"Additional contributors": {}, | |||
"Peer reviewer": {}, | |||
"Review complete": {} | |||
}, | |||
"description": "Add author line for top of article" | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 20:26, 1 May 2022
Add author line for top of article
Parameter | Description | Type | Status | |
---|---|---|---|---|
Authors | Authors | no description | Unknown | optional |
Additional contributors | Additional contributors | no description | Unknown | optional |
Peer reviewer | Peer reviewer | no description | Unknown | optional |
Review complete | Review complete | no description | Unknown | optional |