Template:Article: Difference between revisions
From EyeWiki
WikiWorks2 (talk | contribs) No edit summary |
No edit summary |
||
(42 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#metamaster:date|{{# | <includeonly><div id="article-header" data-description2-ignore>{{#metamaster:date|{{#timel: Y-m-d|{{{Date reviewed|{{REVISIONTIMESTAMP}}}}}}}}}{{#if:{{{Meta description|}}}|{{#set:Meta description={{{Meta description|}}}}}{{#description2:{{{Meta description|}}}}}}}{{#metamaster:legal_notice|This website and all content on it is protected by copyright law and usage policies, and it is expressly forbidden for such content to be ingested, analyzed, copied, reproduced, maintained, or in any way used by artificial intelligence technologies, including but not limited to large language models, without express written consent.}}<div id="contest" style="margin-bottom: 6px;"> | ||
{{Contest Buttons}} | {{Get active contest}}<!--{{Contest Buttons}}--> | ||
</div> | </div> | ||
{{CopyrightReminder}}<!-- copyright reminder --> | |||
{{infobox begin|class=contributors}} | {{infobox begin|class=contributors}} | ||
{{infobox section | {{infobox section | ||
|[[Property:Authors| | |[[Property:Authors|Article initiated by]]: | ||
|{{#if: {{{Authors|}}} | |{{#if: {{{Authors|}}} | ||
|{{#arraymap:{{{Authors|}}} | |{{#arraymap:{{{Authors|}}} | ||
|, | |, | ||
|xyz | |xyz | ||
|{{#set:Authors=User:xyz}}[[User:xyz|{{#ask: [[User:xyz]] |?Name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | |{{#set:Authors=User:xyz}}[[User:xyz|{{#ask: [[Modification date::+]] [[User:xyz]] |?Name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | ||
|,  | |,  | ||
}} | }} | ||
Line 19: | Line 20: | ||
{{infobox section | {{infobox section | ||
|All contributors: | |All contributors: | ||
|{{# | | {{#arraymap:{{{Additional contributors|}}}|,|x|{{#set:Additional contributor=User:x}}{{UserLookup|x}}|, }}<!-- | ||
-->{{#if:{{#show:{{FULLPAGENAME}}|?Page author}}|{{#if:{{{Additional contributors|}}}|, }}<!-- | |||
-->{{#arraymap:{{#show:{{FULLPAGENAME}}|?Page author|link=none}}|,|x|{{#ifallowed:{{#replace:x|User:|}}|ignorecontributions||{{#set:Additional contributor=x}}{{UserLookup|{{#replace:x|User:|}}}}}}|, }}<!-- | |||
-->}} | |||
}} | }} | ||
{{infobox section | {{infobox section | ||
|Assigned editor: | |Assigned editor: | ||
|{{#if:{{{Assigned editor|}}} | | {{#if:{{{Assigned editor|}}}|{{#if:{{#ask: [[Modification date::+]] | ||
[[{{#arraymap:{{{Category|}}}|,|XXX|Portal:XXX|{{!}}{{!}}}}]] | |||
[[Portal member::{{#arraymap:{{{Assigned editor|}}}|,|XXX|User:XXX|{{!}}{{!}}}}]] | |||
}}| | |||
{{#set:Has assigned editor=true}}| | |||
{{#set:Has assigned editor=false}} | |||
}} | }} | ||
{{infobox section | {{#arraymap:{{{Assigned editor|}}}|,|x|{{#set:Assigned editor=User:x|Assigned to=User:x}}{{UserLookup|x}}|, }} | ||
|{{#set:Has assigned editor=false}}}}}}<!-- | |||
<!-- set Review expriation date property: | |||
-->{{#if:{{{Date reviewed|}}}|{{#set:Has review=Yes}}{{#set:Review expiration date={{#timel: d F Y|{{{Date reviewed}}} + {{formatnum:{{Project:Stale pages/Days}}|R}} days}}}}|{{#set:Has review=No}}}}<!-- | |||
--><!-- | |||
-->{{infobox section | |||
|Review: | |Review: | ||
|{{#if:{{{ | |Assigned status '''{{#if:{{Review expired|{{PAGENAME}}|{{#timel: d F Y|{{{Date reviewed}}} + {{formatnum:{{Project:Stale pages/Days}}|R}} days}}}}|[[Article status::Update Pending]]|[[Article status::{{{Article status|Update Pending}}}]]}}''' | ||
}}<!-- | |||
|by {{#set:Reviewer=User:{{{Reviewer|}}}}}[[User:{{{Reviewer|}}}|{{#ask: [[User:{{{Reviewer|}}}]]|?Name=|mainlabel=-|default={{{Reviewer|}}}|limit=1|searchlabel=}}]] | --><!-- | ||
-->{{#if:{{{Reviewer|}}} | |||
| by {{#set:Reviewer=User:{{{Reviewer|}}}}}[[User:{{{Reviewer|}}}|{{#ask: [[Modification date::+]] [[User:{{{Reviewer|}}}]]|?Name=|mainlabel=-|default={{{Reviewer|}}}|limit=1|searchlabel=}}]] on [[Date reviewed::{{{Date reviewed|}}}|{{{Date reviewed|an unknown date}}}]]}}. | |||
}} | |||
{{infobox end}} | {{infobox end}} | ||
<div style="display:none;"> | <div style="display:none;"> | ||
{| cellspacing="5" | {| cellspacing="5" | ||
|-!align="right" |'''[[Property:Lead Editors|Lead Editors]]:''' | |-!align="right" |'''[[Property:Lead Editors|Lead Editors]]:''' | ||
|{{#if: {{{Lead Editors|}}}|{{#arraymap:{{{Lead Editors|}}}|,|xyz|{{#set:Lead Editors=User:xyz}}{{#ifexist: User:xyz | [[User:xyz|{{#ask: [[UserName::xyz]]|?Name=|mainlabel=-|}}]] | [[User:xyz]]}}}}|<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>}} | |{{#if: {{{Lead Editors|}}}|{{#arraymap:{{{Lead Editors|}}}|,|xyz|{{#set:Lead Editors=User:xyz}}{{#ifexist: User:xyz | [[User:xyz|{{#ask: [[Modification date::+]] [[UserName::xyz]]|?Name=|mainlabel=-|}}]] | [[User:xyz]]}}}}|<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>}} | ||
|- | |- | ||
!align="right" |'''[[Property:Contributing Editors|Contributing Editors]]:''' | !align="right" |'''[[Property:Contributing Editors|Contributing Editors]]:''' | ||
|{{#if: {{{Contributing Editors|}}}|{{#arraymap:{{{Contributing Editors|}}}|,|xyz|{{#set:Contributing Editors=User:xyz}}{{#ifexist: User:xyz | [[User:xyz|{{#ask: [[UserName::xyz]]|?Name=|mainlabel=-|}}]] | [[User:xyz]]}}}}|<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>}} | |{{#if: {{{Contributing Editors|}}}|{{#arraymap:{{{Contributing Editors|}}}|,|xyz|{{#set:Contributing Editors=User:xyz}}{{#ifexist: User:xyz | [[User:xyz|{{#ask: [[Modification date::+]] [[UserName::xyz]]|?Name=|mainlabel=-|}}]] | [[User:xyz]]}}}}|<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>}} | ||
|- | |- | ||
|}[[Category:Articles]]{{#arraymap:{{{Category|}}}|,|xyz|[[Category:xyz]]{{#ifeq:{{{Article status|}}}|Update Pending|[[Category:xyz articles that need work]]}}{{#set:Category={{{Category}}}}}|<nowiki> </nowiki>}}</div> | |}[[Category:Articles]]{{#arraymap:{{{Category|}}}|,|xyz|[[Category:xyz]]{{#ifexist:Portal:xyz|{{#set:Semantic Dependency=Portal:xyz}}}}{{#ifeq:{{{Article status|}}}|Update Pending|[[Category:xyz articles that need work]]}}{{#set:Category={{{Category}}}}}|<nowiki> </nowiki>}}</div> | ||
<div style="display:none;"> | <div style="display:none;"> | ||
{{#if: {{{Authors|}}}||{{#set:Authors empty=yes}}}} | {{#if: {{{Authors|}}}||{{#set:Authors empty=yes}}}} | ||
Line 55: | Line 63: | ||
{{{Local Videos|}}} | {{{Local Videos|}}} | ||
</div> | </div> | ||
</includeonly> | </div></includeonly> |
Latest revision as of 10:18, October 5, 2024