Difference between revisions of "Template:Article Selection"

From Beyond Social
 
(62 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<pre>
 
<pre>
 
{{article selection
 
{{article selection
|Articles=
+
|Article=
 
|Notes=
 
|Notes=
 
}}
 
}}
 
</pre>
 
</pre>
 +
</noinclude>
  
{{#default_form:Editorial}}
+
<includeonly><div class="selected-article">
  
{{#vardefine:article|test}}
+
<div class="article-preview small">
 +
<div class="image">[[File:{{#show: {{{Article| }}}|?Thumb|link=none}}]]</div>
 +
<div class="caption">{{#show: {{{Article| }}}|?Caption|link=none}}</div>
 +
</div>
  
</noinclude>
+
<div class="title">{{#arraymap:{{{Article| }}}|%%%|@@@|[[@@@]]}}</div>
  
<includeonly>{| class="wikitable editorial"
+
<div class="moddate small">
|-
+
{{#show: {{{Article| }}}|?Modification date}} by
! [[{{#var:article}}]]
+
{{#show: {{{Article| }}}|?Last editor is}}
|-
+
</div>
| {{#arraymap:{{{Notes|}}}|,|z|z}}
 
|-
 
| <DPL>
 
  imagecontainer={{#var:article}}
 
  escapelinks=false
 
  count=1
 
</DPL>
 
|}
 
  
{{#var:article}}
+
<div class="notes">
</includeonly>
+
{{#arraymap:{{{Notes| }}}|,|@@@@|@@@@}}</div>
 +
</div></includeonly>

Latest revision as of 14:57, 21 May 2019

{{article selection
|Article=
|Notes=
}}