Difference between revisions of "Template:Editorial"

From Beyond Social
 
(145 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| ]]
{| class="wikitable"
+
=Selected articles=
|-
+
</div></includeonly>
! Title
 
| {{{Title|}}}
 
|-
 
! Editor
 
| {{{Editor's name|}}}
 
|}
 
 
 
[[File:{{{Image}}}|thumb|right]]
 
 
 
=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 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.