Template:NavBar: Difference between revisions

From LOTR-TCG Wiki
imported>Teltura
(Revamping template to utilize parser functions to avoid rendering portions of the table as appropriate.)
(Altering the navbar to require callers to set the link (which allows callers to set custom text if they so desire))
Tag: Manual revert
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:60%;margin-left: auto; margin-right: auto;"
<includeonly>{|class="wikitable" style="width:90%;margin-left: auto; margin-right: auto;"
|style="text-align:left;width:20%;"|{{ExtImgLink|{{{3}}}|previous.gif}} {{#if: {{{3|}}} | [[{{{3}}}]] }}
|style="text-align:left;width:30%;"| {{#if: {{{3|}}} | [[File:previous.gif|link={{{3}}}]] {{{3}}} }}
|style="text-align:center;width:20%;"| {{ExtImgLink|{{{2}}}|home.gif}} {{#if: {{{2|}}} | Back to [[{{{2}}}]] }} {{ExtImgLink|{{{2}}}|home.gif}}
|style="text-align:center;width:30%;"| {{#if: {{{2|}}} |[[File:home.gif|link={{{2}}}]]<br>Back to {{{2}}} }}  
|style="text-align:right;width:20%;"| {{#if: {{{4|}}} | [[{{{4}}}]] }} {{ExtImgLink|{{{4}}}|next.gif}}
|style="text-align:right;width:30%;"| {{#if: {{{4|}}} | {{{4}}} [[File:next.gif|link={{{4}}}]]}}  
|}
|}
</includeonly>
</includeonly>

Latest revision as of 05:13, 11 October 2021