Difference between revisions of "Template:HonorSubpage"

From Pathfinder Wiki
(change the column width's so they are the same with the landing page)
(add support for pilots)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
<div class="container mw-parser-output">
 
<div class="container mw-parser-output">
 
<div class="row">
 
<div class="row">
<div class="col-md-4 order-md-last mb-3 mb-md-0">
+
<div class="col-md-4 order-md-last mb-3 mb-md-0 noprint">
 
<div style="position: sticky; top: calc(80px + 1em);">{{Honor_infobox}}
 
<div style="position: sticky; top: calc(80px + 1em);">{{Honor_infobox}}
 
</div><!--close sticky container-->
 
</div><!--close sticky container-->
 
</div><!--close column-->
 
</div><!--close column-->
<div class="col-md-8">
+
<div class="col-md-8 col-print-12">
 
{{#invoke:HonorTabs|generateHonorTabs}}
 
{{#invoke:HonorTabs|generateHonorTabs}}
<div class="tab-content" id="myTabContent"></onlyinclude></includeonly>[[Category:Honor templates]][[Category:Uses HonorSubpage Template]]
+
<div class="tab-content" id="myTabContent">
 +
{{#ifeq:{{{state|{{GetHonorMetaData|language=/en|parameter=state}}}}}|piloting|{{Template:Piloting Honor Info}}}}</onlyinclude></includeonly>[[Category:Honor templates]][[Category:Uses HonorSubpage Template]]
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>

Latest revision as of 16:02, 3 April 2022


This template creates the main structure of an honor subpage, including the honor infobox and the honor tabs

Template parameters

ParameterDescriptionTypeStatus
No parameters specified