Difference between revisions of "Template:Navigation header"

From Wikimedia Australia
Jump to navigation Jump to search
(optional prev and next)
Line 1: Line 1:
 
<div style="display:flex; border:1px solid #bbb; background-color:#efefef; padding:0.3em">
 
<div style="display:flex; border:1px solid #bbb; background-color:#efefef; padding:0.3em">
<div style="flex:1; order:1">&larr; {{{prev}}}</div>
+
<div style="flex:1; order:1">{{#if: {{{prev|}}} | &larr; {{{prev}}} }}</div>
 
<div style="flex:1; order:2; text-align:center">{{{title}}}</div>
 
<div style="flex:1; order:2; text-align:center">{{{title}}}</div>
<div style="flex:1; order:3; text-align:right">{{{next}}} &rarr;</div>
+
<div style="flex:1; order:3; text-align:right">{{#if: {{{next|}}} | {{{next}}} &rarr;}}</div>
 
</div>
 
</div>

Revision as of 12:58, 30 September 2017

{{{title}}}