Difference between revisions of "Template:CharsheetFooterSource"

From Game Logs
Jump to: navigation, search
m (fix)
m (fix)
Line 28: Line 28:
 
   }}
 
   }}
 
}}
 
}}
{{
+
{{  
   #if: {{ #var: pawaLabel }} |
+
   #vardefine: eclPrev |  
   {{
+
   {{  
     {{
+
     #ifexpr: {{#var: pawaStr}} <= 10  
      #vardefine: eclPrev |
+
      | 0{{#expr: {{#var: pawaStr}}-1}}  
      {{
+
      | {{#expr: {{#var: pawaStr}}-1}}  
        #ifexpr: {{#var: pawaStr}} <= 10  
+
  }}  
          | 0{{#expr: {{#var: pawaStr}}-1}}  
+
}}
          | {{#expr: {{#var: pawaStr}}-1}}  
+
{{  
      }}  
+
  #vardefine: eclNext |  
    }}
+
  {{  
    {{  
+
     #ifexpr: {{#var: pawaStr}} <= 8  
      #vardefine: eclPrevString |
+
      | 0{{#expr: {{#var: pawaStr}}+1}}  
      {{
+
      | {{#expr: {{#var: pawaStr}}+1}}  
        #ifexpr: {{#var: pawaStr}} = 1
 
        |
 
        <html>
 
          <span style="display:none">
 
            [[{{{Name}}} ECL{{ #var: eclPrev }}&#124;<< {{ #var: pawaLabel }} {{ #var: eclPrev }}]]&nbsp;&nbsp;
 
          </span>
 
        </html>
 
        | [[{{{Name}}} ECL{{ #var: eclPrev }}&#124;<< {{ #var: pawaLabel }} {{ #var: eclPrev }}]]&nbsp;&nbsp;&#124;&nbsp;&nbsp;
 
      }}
 
     }}
 
    {{
 
      #vardefine: eclNext |
 
      {{
 
        #ifexpr: {{#var: pawaStr}} <= 8  
 
          | 0{{#expr: {{#var: pawaStr}}+1}}  
 
          | {{#expr: {{#var: pawaStr}}+1}}  
 
      }}
 
    }}
 
    {{
 
      #vardefine: eclCurrent |
 
      {{
 
        #ifexpr: {{#var: pawaStr}} <= 9
 
          | 0{{#var: pawaStr}}
 
          | {{#var: pawaStr}}
 
      }}
 
    }}
 
    {{
 
      #vardefine : linkStr | <html><center></html>{{ #var: eclPrevString }}[[{{{Name}}}]]&nbsp;&nbsp;&#124;&nbsp;&nbsp;[[{{{Name}}} ECL{{ #var: eclNext }}&#124;ECL {{ #var: eclNext }} >>]]<html></center></html>
 
    }}
 
  }} |
 
  {{
 
    #vardefine: linkStr | <html><center></html>[[{{{Name}}}]]<html></center></html>
 
 
   }}
 
   }}
 +
}}
 +
{{
 +
  #vardefine: eclCurrent |
 +
  {{
 +
    #ifexpr: {{#var: pawaStr}} <= 9
 +
      | 0{{#var: pawaStr}}
 +
      | {{#var: pawaStr}}
 +
  }}
 
}}
 
}}
 
----
 
----
{{#var: linkStr}}
+
<html><center></html>{{ #ifexpr: {{#var: pawaStr}} > 1 | [[{{{Name}}} ECL{{ #var: eclPrev }}&#124;<< ECL {{ #var: eclPrev }}]]&nbsp;&nbsp;&#124;&nbsp;&nbsp; }}[[{{{Name}}}]]&nbsp;&nbsp;&#124;&nbsp;&nbsp;[[{{{Name}}} ECL{{ #var: eclNext }}&#124;ECL {{ #var: eclNext }} >>]]<html></center></html>
 
[[Category:Charsheets]]
 
[[Category:Charsheets]]
 
[[Category:{{ #var: systemStr}}]]
 
[[Category:{{ #var: systemStr}}]]

Revision as of 15:09, 31 May 2008