Difference between revisions of "Template:Editorial"

From Beyond Social
 
(190 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=
|Categories=
+
|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">
{| class="wikitable"
+
<div class="image">[[File:{{{Image| }}}]]</div>
! Title
+
<div class="caption">{{{Caption| }}}</div>
|<div class="editorial_title">{{{Title|}}}</div>
+
{{Editorial_intro}}
|-
+
=Introduction=
! Editor's Author
+
<div class="intro">
| <div class="editorial_author">{{{Editor's name|}}}</div>
+
{{{Intro| }}}
|-
+
</div>
! Categories
+
{{#default_form:Editorial}}
| <div class="editorial_categories">{{{Categories|}}}</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>
 
 
 
 
=[[{{{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 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.