Difference between revisions of "Template:Succession Box"

From Lunarpedia
Jump to: navigation, search
 
(Added Example)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
|- style="text-align: center;"
+
 
| width="30%" |Preceded by:<br />'''{{{before}}}'''
+
<noinclude>
| width="40%" style="text-align: center;" |'''{{{title}}}'''<br />{{{years}}}
+
<pre>
| width="30%" |Succeeded by:<br />'''{{{after}}}'''
+
{{Start Box}}
 +
{{Succession Box|
 +
before=[[User:Miros1|Rosalie Dieteman]]|
 +
title=[[Lunarpedia Editor]]|
 +
after=[[User:Strangelv|James Gholston]] |
 +
years=2019
 +
}}
 +
{{End Box}}
 +
</pre>
 +
 
 +
The preceding code produces the following result:
 +
 
 +
{{Start Box}}
 +
{{Succession Box|
 +
before=[[User:Miros1|Rosalie Dieteman]]|
 +
title=[[Lunarpedia Editor]]|
 +
after=[[User:Strangelv|James Gholston]] |
 +
years=2019
 +
}}
 +
{{End Box}}
 +
 
 +
Each of the fields, before, title, and after should be a correctly formatted link.  Note that the page for Lunarpedia Editor does not currently exist.
 +
 
 +
Note: <nowiki>{{Succession Box}} must be wrapped in {{Start Box}} and {{End Box}} templates.
 +
</nowiki>
 +
 
 +
 
 +
</noinclude>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<includeonly><onlyinclude>
 +
{{Sequence Box
 +
| name={{{title}}}
 +
| item={{{years}}}
 +
| before={{{before}}}
 +
| after={{{after}}}
 +
| before_label=Preceded by:
 +
| after_label=Succeeded by:
 +
}}
 +
</onlyinclude></includeonly>

Latest revision as of 08:44, 30 June 2019


{{Start Box}}
{{Succession Box|
 before=[[User:Miros1|Rosalie Dieteman]]|
 title=[[Lunarpedia Editor]]|
 after=[[User:Strangelv|James Gholston]] |
 years=2019
}}
{{End Box}}

The preceding code produces the following result:


Preceded by:
Rosalie Dieteman
Lunarpedia Editor
2019
Succeeded by:
James Gholston



Each of the fields, before, title, and after should be a correctly formatted link. Note that the page for Lunarpedia Editor does not currently exist.

Note: {{Succession Box}} must be wrapped in {{Start Box}} and {{End Box}} templates.