Template:Article: Difference between revisions
From EyeWiki
No edit summary |
No edit summary |
||
(48 intermediate revisions by 7 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;"> | ||
{| | {{Get active contest}}<!--{{Contest Buttons}}--> | ||
</div> | |||
{{CopyrightReminder}}<!-- copyright reminder --> | |||
|{{#if: {{{Authors|}}}|{{#arraymap:{{{Authors|}}}|,|xyz|{{#set:Authors=User:xyz}}[[User:xyz|{{#ask: [[User:xyz]]|?Name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]]}}|<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>}} | {{infobox begin|class=contributors}} | ||
{{infobox section | |||
|[[Property:Authors|Article initiated by]]: | |||
| {{# | |{{#if: {{{Authors|}}} | ||
|- | |{{#arraymap:{{{Authors|}}} | ||
|, | |||
| {{#if:{{{ | |xyz | ||
|{{#set:Authors=User:xyz}}[[User:xyz|{{#ask: [[Modification date::+]] [[User:xyz]] |?Name=|mainlabel=-|default=xyz|limit=1|searchlabel=}}]] | |||
|,  | |||
| {{#if:{{{ | }} | ||
|<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small> | |||
}} | |||
}} | |||
{{infobox section | |||
|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 | |||
|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}} | |||
}} | }} | ||
|} | {{#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: | |||
|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}}}]]}}''' | |||
}}<!-- | |||
--><!-- | |||
-->{{#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}} | |||
<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>}} | |}[[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> | |||
<div style="display:none;"> | <div style="display:none;"> | ||
{{#if: {{{Authors|}}}||{{#set:Authors empty=yes}}}} | {{#if: {{{Authors|}}}||{{#set:Authors empty=yes}}}} | ||
Line 36: | Line 63: | ||
{{{Local Videos|}}} | {{{Local Videos|}}} | ||
</div> | </div> | ||
</includeonly> | </div></includeonly> |
Latest revision as of 10:18, October 5, 2024