Difference between revisions of "Template:Editorial"

From Beyond Social
 
(159 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{editorial selection
+
{{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| ]]
 
+
=Selected articles=
 
+
</div></includeonly>
[[File:{{{Image}}}|thumb|right]]
 
 
 
{| style=background-color:white;border:2px solid black;
 
|-
 
| Title || {{{Title|}}}
 
|-
 
| Editor || {{{Editor's name|}}}
 
|}
 
 
 
=Intro text=
 
<div class="editorial_text">{{{Intro text|}}}</div>
 
 
 
=Selected Articles=
 
 
 
{{#arraymap:{{{Articles|}}}|,|x|==[[x]]==|&#32;}}
 
{{#arraymap:{{{Notes|}}}|,|x|<div class="notes">x</div>|<br>}}
 
 
 
 
 
[[Category:editorial selection]]
 
</includeonly>
 
<noinclude>
 
</noinclude>
 

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.