Difference between revisions of "Template:Succession Box"
(Added Example) |
|||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | | | + | |
− | | | + | <noinclude> |
− | | | + | <pre> |
− | | | + | {{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 07: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.