Difference between revisions of "Template:Editorial"

From Beyond Social
 
(107 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
{{editorial
 
{{editorial
 
|Title=
 
|Title=
|Editor's name=
+
|Editor=
 
|Image=
 
|Image=
 +
|Caption=
 
|Intro text=
 
|Intro text=
|Articles=
+
}}
 +
 
 +
{{Article_selection
 +
|Article=
 
|Notes=
 
|Notes=
 +
}}
 +
{{Link_internal
 +
|link=
 +
}}
 +
{{Link_external
 +
|link=
 +
|displaytext=
 
}}
 
}}
 
</pre>
 
</pre>
Line 15: Line 26:
 
</noinclude>
 
</noinclude>
  
<includeonly>
+
<includeonly><div id="editorial-wrapper">
 
+
<div class="image">[[File:{{{Image| }}}]]</div>
 +
<div class="caption">{{{Caption| }}}</div>
 +
{{Editorial_intro}}
 +
=Introduction=
 +
<div class="intro">
 +
{{{Intro| }}}
 +
</div>
 +
{{#default_form:Editorial}}
 
__NOTOC__
 
__NOTOC__
 
+
[[Category:Editorials]][[Thumb::{{{Image|None.jpg}}}| ]] [[Title::{{PAGENAME}}| ]] [[PageType::Editorial| ]]
<div style="background-color:rgba(0,68,255,1);color:white;width:calc(100% - 20px);padding:10px;">Editorial</div>
+
=Selected articles=
<span style="color:rgba(0,68,255,1);">Each editorial is a collection of different articles, carefully selected to emphasise a certain issue, topic or theme and guided by a text by the curator to read articles in a new way. [[Editorial_Tutorial|More info here.]]</span>
+
</div></includeonly>
 
 
={{{Title|}}}=
 
 
 
[[File:{{{Image|}}}|thumb|right|{{{Caption|}}}]]
 
<u>by {{{Editor's name|}}}</u>
 
 
 
{{{Intro text|}}}
 
 
 
=Selected Articles=
 
</includeonly>
 

Latest revision as of 11:49, 21 May 2019

This is the "Editorial" template. It should be called in the following format:

{{editorial
|Title=
|Editor=
|Image=
|Caption=
|Intro text=
}}

{{Article_selection
|Article=
|Notes=
}}
{{Link_internal
|link=
}}
{{Link_external
|link=
|displaytext=
}}

Edit the page to see the template text.