Difference between revisions of "Template:NewClassNavigator"

From USNA Virtual Memorial Hall
Line 5: Line 5:
 
   <div class="panel-body">{{{Name}}} is one of {{{HonoreesInClass}}} members of the [[:Category:{{{ClassYear}}}|Class of {{{ClassYear}}}]] in Memorial Hall.
 
   <div class="panel-body">{{{Name}}} is one of {{{HonoreesInClass}}} members of the [[:Category:{{{ClassYear}}}|Class of {{{ClassYear}}}]] in Memorial Hall.
 
<ul class="pager">
 
<ul class="pager">
   {{#ifeq:{{{PreviousPersonName|}}}|{{#ifeq:{{{PreviousPersonLink|}}}|{{{PreviousPersonLink|-}}}| <li class="previous">{{{PreviousPersonLink}}}</li> }}| <li class="previous">[[{{{PreviousPersonLink}}}|&larr; {{{PreviousPersonName}}}]]</li> }}
+
   {{#if: {{{PreviousPersonName}}} | {{#if: {{{PreviousPersonLink}}} | <li class="previous">[[{{{PreviousPersonLink}}}|&larr; {{{PreviousPersonName}}}]]</li> |  }} |  }}
   {{#ifeq:{{{NextPersonLink |}}}|{{{NextPersonLink |-}}}| <li class="next">[[{{{NextPersonLink}}}|{{{NextPersonName}}} &rarr;]]</li> }}
+
   {{#if: {{{NextPersonName}}} | {{#if: {{{NextPersonLink}}} | <li class="previous">[[{{{NextPersonLink}}}|&larr; {{{NextPersonName}}}]]</li> |  }} |  }}
 
</ul>
 
</ul>
 
   </div>
 
   </div>
 
</div>
 
</div>

Revision as of 10:26, 25 November 2017

Class of {{{ClassYear}}}

{{{Name}}} is one of {{{HonoreesInClass}}} members of the [[:Category:{{{ClassYear}}}|Class of {{{ClassYear}}}]] in Memorial Hall.