Difference between revisions of "Template:Editorial"

From Beyond Social
 
(174 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}}
{| class="wikitable" width="50%"
+
=Introduction=
! Title
+
<div class="intro">
|<div class="editorial_title">{{{Title|}}}</div>
+
{{{Intro| }}}
|-
+
</div>
! Editor's Author
+
{{#default_form:Editorial}}
| <div class="editorial_author">{{{Editor's name|}}}</div>
 
|}
 
 
 
<div id="editorial_image">[[File:{{{Image}}}|thumb|left]]</div>
 
 
 
 
__NOTOC__
 
__NOTOC__
 
+
[[Category:Editorials]][[Thumb::{{{Image|None.jpg}}}| ]] [[Title::{{PAGENAME}}| ]] [[PageType::Editorial| ]]
=Intro text=
+
=Selected articles=
<div class="editorial_text">{{{Intro text|}}}</div>
+
</div></includeonly>
 
 
=Selected Articles=
 
 
 
==[[{{{Articles|}}}]]==
 
{{{Notes|}}}
 
 
 
[[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.