Difference between revisions of "Template:Editorial"

From Beyond Social
 
(178 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 1=
+
}}
|Notes 1=
+
 
|Articles 2=
+
{{Article_selection
|Notes 2=
+
|Article=
|Articles 3=
+
|Notes=
|Notes 3=
+
}}
|Articles 4=
+
{{Link_internal
|Notes 4=
+
|link=
|Articles 5=
+
}}
|Notes 5=
+
{{Link_external
 +
|link=
 +
|displaytext=
 
}}
 
}}
 
</pre>
 
</pre>
Line 23: Line 26:
 
</noinclude>
 
</noinclude>
  
<includeonly>
+
<includeonly><div id="editorial-wrapper">
 
+
<div class="image">[[File:{{{Image| }}}]]</div>
<div id="editorial_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>
 
|}
 
 
 
 
__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 1|}}}]]==
 
<div class="editorial_articles_notes">{{{Notes 1|}}}</div>
 
 
 
==[[{{{Articles 2|}}}]]==
 
<div class="editorial_articles_notes">{{{Notes 2|}}}</div>
 
 
 
==[[{{{Articles 3|}}}]]==
 
<div class="editorial_articles_notes">{{{Notes 3|}}}</div>
 
 
 
==[[{{{Articles 4|}}}]]==
 
<div class="editorial_articles_notes">{{{Notes 4|}}}</div>
 
 
 
==[[{{{Articles 5|}}}]]==
 
<div class="editorial_articles_notes">{{{Notes 5|}}}</div>
 
 
 
 
 
[[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.