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:{{{PreviousPersonLink|}}}|{{{PreviousPersonLink|-}}}| <li class="previous">[[{{{PreviousPersonLink}}}|&larr; {{{PreviousPersonName}}}]]</li> }}
+
   {{#ifeq:{{{PreviousPersonName|}}}|{{#ifeq:{{{PreviousPersonLink|}}}|{{{PreviousPersonLink|-}}}| <li class="previous">{{{PreviousPersonLink}}}</li> }}| <li class="previous">[[{{{PreviousPersonLink}}}|&larr; {{{PreviousPersonName}}}]]</li> }}
 
   {{#ifeq:{{{NextPersonLink |}}}|{{{NextPersonLink |-}}}| <li class="next">[[{{{NextPersonLink}}}|{{{NextPersonName}}} &rarr;]]</li> }}
 
   {{#ifeq:{{{NextPersonLink |}}}|{{{NextPersonLink |-}}}| <li class="next">[[{{{NextPersonLink}}}|{{{NextPersonName}}} &rarr;]]</li> }}
 
</ul>
 
</ul>
 
   </div>
 
   </div>
 
</div>
 
</div>

Revision as of 09:07, 25 November 2017

Class of {{{ClassYear}}}

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