Difference between revisions of "Template:NewClassNavigator"

From USNA Virtual Memorial Hall
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="panel panel-info">
+
 
  <div class="panel-heading">
+
<div class='clearfix'></div>
    <h3 class="panel-title">Class of {{{ClassYear}}}</h3>
+
<div class="col-lg-6 col-lg-offset-3">
  </div>
+
<div class="panel panel-info">
  <div class="panel-body">{{{Name}}} is one of {{{HonoreesInClass}}} members of the [[:Category:{{{ClassYear}}}|Class of {{{ClassYear}}}]] in Memorial Hall.
+
<div class="panel-heading">
<ul class="pager">
+
<h3 class="panel-title">Class of {{{ClassYear}}}</h3>
  {{#ifeq:{{{PreviousPersonName|}}}|{{#ifeq:{{{PreviousPersonLink|}}}|{{{PreviousPersonLink|-}}}| <li class="previous">{{{PreviousPersonLink}}}</li> }}| <li class="previous">[[{{{PreviousPersonLink}}}|&larr; {{{PreviousPersonName}}}]]</li> }}
+
</div>
  {{#ifeq:{{{NextPersonName|}}}|{{#ifeq:{{{NextPersonLink|}}}|{{{NextPersonLink|-}}}| <li class="Next">{{{NextPersonLink}}}</li> }}| <li class="Next">[[{{{NextPersonLink}}}|&larr; {{{NextPersonName}}}]]</li> }}
+
{{#ifeq: {{{HonoreesInClass}}} | 1 | <div class="panel-body"><p>{{{Name}}} is the only member of the [[:Category:{{{ClassYear}}}|Class of {{{ClassYear}}}]] in Memorial Hall.</p> | <div class="panel-body"><p>{{{Name}}} is one of {{{HonoreesInClass}}} members of the [[:Category:{{{ClassYear}}}|Class of {{{ClassYear}}}]] on Virtual Memorial Hall.</p> }}
</ul>
+
<ul class="pager">
  </div>
+
{{#if: {{{PreviousPersonLink|}}} |<li class="previous">[[{{{PreviousPersonLink}}}|&larr; {{{PreviousPersonName}}}]]</li>| }}
 +
{{#if: {{{NextPersonLink|}}} |<li class="next">[[{{{NextPersonLink}}}|{{{NextPersonName}}} &rarr;]] </li> | }}
 +
</ul>
 +
</div>
 +
</div>
 
</div>
 
</div>
 +
<div class='clearfix'></div><div class="well well-sm">The "category" links below lead to lists of related Honorees; use them to explore further the service and sacrifice of the alumni in Memorial Hall.</div>
 +
<noinclude>
 +
== Usage ==
 +
Template is auto-generated by a script drawing from an offline listing of Memorial Hall honorees. Please don't make any changes to this template or the information feeding it.</noinclude>

Latest revision as of 14:09, 24 May 2020

Class of {{{ClassYear}}}

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

The "category" links below lead to lists of related Honorees; use them to explore further the service and sacrifice of the alumni in Memorial Hall.

Usage

Template is auto-generated by a script drawing from an offline listing of Memorial Hall honorees. Please don't make any changes to this template or the information feeding it.