Difference between revisions of "Template:Editorial"

From Beyond Social
 
(79 intermediate revisions by the same user 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>
[[Category:Editorials]]
+
<div class="caption">{{{Caption| }}}</div>
[[Thumb::{{{Image}}}]]
+
{{Editorial_intro}}
[[Title::{{{Title}}}]]
+
=Introduction=
[[Editor::{{{Editor's name}}}]]
+
<div class="intro">
 
+
{{{Intro| }}}
 
+
</div>
 +
{{#default_form:Editorial}}
 
__NOTOC__
 
__NOTOC__
 
+
[[Category:Editorials]][[Thumb::{{{Image|None.jpg}}}| ]] [[Title::{{PAGENAME}}| ]] [[PageType::Editorial| ]]
<div id="editorialHeader">[[File:{{{Image|}}}|{{{Caption|}}}]]</div>
+
=Selected articles=
 
+
</div></includeonly>
<div id="editorialBanner">Editorial<div style="float:right;width:50%;">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.]]</div><br>by [[User:{{{Editor's name|}}}|{{{Editor's name|}}}]]</div>
 
 
{{{Intro text|}}}
 
 
 
=Selected Articles=
 
</includeonly>
 

Latest revision as of 10: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.