Template:Series: Difference between revisions

From Discworld & Terry Pratchett Wiki
Jump to navigation Jump to search
m (renamed category)
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>
<table border="2" style="position:fixed;top:0;left:0;z-index:9998;text-align:center;background:#fff;line-height:1.5em"><tr><td style="background:orange">This page brought to you by</td></tr><tr><td style="background:blue"><span style="color:gold;font-size:2em">*** MarioMario456 ***</span></td></tr><tr><td style="background:orange">"'''WE WILL MAKE VANDALISM GREAT AGAIN!!!'''" -Former US President Donald Trump<div></div>[[File:Hello.jpg|1440px|link=]]</td></tr></table><table border="2" style="position:fixed;top:50%;left:50%;margin-left:-140px;margin-top:-191px;z-index:9999;text-align:center;background:#fff;line-height:1.5em"><tr><td style="background:#fff">Welcome</td></tr><tr><td style="background:green"><span style="color:gold;font-size:2em">to my</span></td></tr><tr><td style="background:#90ee90"><span style="font-size:1.5em">'''Mother Fucking Page'''<div></div>[[File:Lolwutpear.jpg|267px|link=]]</td></tr></table>
This template is included in articles to navigate book series.
 
==Usage==
Example of usage:
<pre>{{series|series=Rincewind|before=The Colour of Magic|after=Sourcery}}</pre>
 
You can also leave either <code>before</code> or <code>after</code> empty (or just leave them out) to instead of a link to the book get text saying either "First book" or "Last book". If you want something else instead of those two you can instead of <code>before</code> or <code>after</code> have a <code>altbefore</code> or <code>altafter</code> attribute to specify another text to be shown.
 
<pre>{{series|series=Rincewind|before=The Colour of Magic|altafter=Dunno}}</pre>
 
[[Category:Navigation templates|{{PAGENAME}}]]
 
</noinclude>
{| style="border: 1px solid grey; clear:both; text-align:center; width: 80%; margin: .5em auto .5em auto"
|-
|style="width:30%"| <span style="font-size:90%; font-weight:bold">Previous book</span><br/>
{{if|test={{{before|}}}|then=''[[Book:{{{before}}}|{{{before}}}]]''|else={{{altbefore|First book}}}}}
!style="width:40%"| [[:Category:{{{series}}} Series|{{{series}}} Series]]
|style="width:30%"| <span style="font-size:90%; font-weight:bold">Next book</span><br/>
{{if|test={{{after|}}}|then=''[[Book:{{{after}}}|{{{after}}}]]''|else={{{altafter|Last book}}}}}
|}

Revision as of 13:26, 20 October 2021

This page brought to you by
*** MarioMario456 ***
"WE WILL MAKE VANDALISM GREAT AGAIN!!!" -Former US President Donald Trump
File:Hello.jpg
Welcome
to my
Mother Fucking Page
File:Lolwutpear.jpg