• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:World/Hub"

From Kancolle Wiki
Jump to navigation Jump to search
(force TOC above, as to not clip inside)
m (quickfix)
Line 1: Line 1:
 
__TOC__{{#vardefine:world#|{{#sub:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}|-1|1}}}}
 
__TOC__{{#vardefine:world#|{{#sub:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}|-1|1}}}}
 
<div><div id="world-select"style="float: left; position: relative; display: flex; bottom: -11px;">
 
<div><div id="world-select"style="float: left; position: relative; display: flex; bottom: -11px;">
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[{{#var:world#|?}}-1]]</div>
+
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[World {{#var:world#|?}}/{{#var:world#|?}}-1|{{#var:world#|?}}-1]]</div>
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[{{#var:world#|?}}-2]]</div>
+
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[World {{#var:world#|?}}/{{#var:world#|?}}-2|{{#var:world#|?}}-2]]</div>
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[{{#var:world#|?}}-3]]</div>
+
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[World {{#var:world#|?}}/{{#var:world#|?}}-3|{{#var:world#|?}}-3]]</div>
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[{{#var:world#|?}}-4]]</div>{{#ifeq:{{#var:world#|?}}|7||
+
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[World {{#var:world#|?}}/{{#var:world#|?}}-4|{{#var:world#|?}}-4]]</div>{{#ifeq:{{#var:world#|?}}|7||
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[{{#var:world#|?}}-5]]</div>{{#ifeq:{{#var:world#|?}}|1|
+
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[World {{#var:world#|?}}/{{#var:world#|?}}-5|{{#var:world#|?}}-5]]</div>{{#ifeq:{{#var:world#|?}}|1|
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[{{#var:world#|?}}-6]]</div>}}}}
+
<div class="faux-tabber" style="width: 24px; padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; white-space: pre; font: bold 12px Verdana,sans-serif">[[World {{#var:world#|?}}/{{#var:world#|?}}-6|{{#var:world#|?}}-6]]</div>}}}}
 
</div>
 
</div>
 
<div id="world-select" style="float: right; position: relative; display: flex; bottom: -11px;">
 
<div id="world-select" style="float: right; position: relative; display: flex; bottom: -11px;">

Revision as of 15:19, 6 November 2022