Difference between revisions of "Template:Article Selection"

From Beyond Social
 
(38 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<pre>
 
<pre>
 
{{article selection
 
{{article selection
|Articles=
+
|Article=
 
|Notes=
 
|Notes=
 
}}
 
}}
Line 8: Line 8:
 
</noinclude>
 
</noinclude>
  
<includeonly>{| class="wikitable editorial"
+
<includeonly><div class="selected-article">
|-
 
! {{#arraymap:{{{Articles|}}}|,|@@@|[[@@@]]}}
 
|-
 
| {{#arraymap:{{{Notes|}}}|,|@@@@|@@@@}}
 
|}
 
  
=More editorials=
+
<div class="article-preview small">
{{#ask:  
+
<div class="image">[[File:{{#show: {{{Article| }}}|?Thumb|link=none}}]]</div>
[[Template::Template:Editorial]]
+
<div class="caption">{{#show: {{{Article| }}}|?Caption|link=none}}</div>
|?Thumb
+
</div>
|?Editor
+
 
|?Category
+
<div class="title">{{#arraymap:{{{Article| }}}|%%%|@@@|[[@@@]]}}</div>
|?Modification date
+
 
|?Creation date
+
<div class="moddate small">
|format=template
+
{{#show: {{{Article| }}}|?Modification date}} by
|template=Editorials
+
{{#show: {{{Article| }}}|?Last editor is}}
|limit=5
+
</div>
|sort=Creation date
+
 
|order=descending
+
<div class="notes">
}}
+
{{#arraymap:{{{Notes| }}}|,|@@@@|@@@@}}</div>
</includeonly>
+
</div></includeonly>

Latest revision as of 15:57, 21 May 2019

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