Difference between revisions of "Template:Pn"

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
 
m
 
Line 1: Line 1:
<div style="border-top: 1px solid #A8A8A8; text-align: center; padding: 6pt;"> {{#if: {{{prev|<noinclude>-</noinclude>}}} | [[Image:Green-arrow-left.png|20px|link={{{prev}}}|alt=Previous]] [[{{{prev}}}|<small>Previous</small>]] - '''[[{{{prev}}}{{#if: {{{prevtitle|<noinclude>-</noinclude>}}}|{{!}}{{{prevtitle}}}}}]]'''}}
+
<div style="border-top: 1px solid #A8A8A8; text-align: center; padding: 6pt;"> {{#if: {{{prev|<noinclude>-</noinclude>}}} | [[Image:Backward-arrow.png|20px|link={{{prev}}}|alt=Previous]] [[{{{prev}}}|<small>Previous</small>]] - '''[[{{{prev}}}{{#if: {{{prevtitle|<noinclude>-</noinclude>}}}|{{!}}{{{prevtitle}}}}}]]'''}}
{{#if: {{{next|<noinclude>-</noinclude>}}} | {{#if: {{{prev|<noinclude>-</noinclude>}}}|{{spaces|10}}}}}} {{#if: {{{next|<noinclude>-</noinclude>}}} | '''[[{{{next}}}{{#if: {{{nexttitle|<noinclude>-</noinclude>}}}|{{!}}{{{nexttitle}}}}}]]''' - [[{{{next}}}|<small>Next</small>]] [[Image:Green-arrow-right.png|20px|link={{{next}}}|alt=Next]]}} </div><noinclude>
+
{{#if: {{{next|<noinclude>-</noinclude>}}} | {{#if: {{{prev|<noinclude>-</noinclude>}}}|{{spaces|10}}}}}} {{#if: {{{next|<noinclude>-</noinclude>}}} | '''[[{{{next}}}{{#if: {{{nexttitle|<noinclude>-</noinclude>}}}|{{!}}{{{nexttitle}}}}}]]''' - [[{{{next}}}|<small>Next</small>]] [[Image:Forward-arrow.png|20px|link={{{next}}}|alt=Next]]}} </div><noinclude>
  
 
Template for Next Previous links at the bottom of an article:
 
Template for Next Previous links at the bottom of an article:

Latest revision as of 14:11, 22 August 2013

Previous [[{{{prev}}}|Previous]] - [[{{{prev}}}|{{{prevtitle}}}]]            [[{{{next}}}|{{{nexttitle}}}]] - [[{{{next}}}|Next]] Next

Template for Next Previous links at the bottom of an article:

Examples:

{{pn|prev=Islam: A Critical Analysis|next=Judaism and Islam}}

Custom links for each page link:

{{pn|prev=Islam: A Critical Analysis|prevtitle=My Title 1|next=Judaism and Islam|nexttitle=My Title 2}}