Jump to content

Template:Ep-nav

From Pact Wiki
Revision as of 22:39, January 29, 2014 by Default (talk | contribs) (Created page with '{| style="width:65%; margin:20px auto 10px auto; border:1px solid #AAA; background: #f9f9f9; text-align:center;" |- | style="padding:0 5px 0 10px; width:50%;" | '''Previous episo...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Previous episode: Next episode:
Description
This templates is used to provide quick, consistent link to the previous and next episodes in a series.
Syntax
Type {{ep-nav{{#ifeq: prev=|---|||<prev=>}}{{#ifeq: next=|---|||<next=>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} at the bottom of episode pages, filling in the prev= and next= fields. Don't forget to include brackets, to make the fields into links.
Sample output
{{ep-nav|prev=[[Help:Templates|Link A]] plus text|next=[[Help:Templates|Link C]]}} gives...
Previous episode: Next episode:
Link A plus text Link C