Actions

Template

Difference between revisions of "ClassSection"

From P6 Spheres

 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
'''Template:'''  
 
'''Template:'''  
{{ClassSection|type=begin|title=<br>
+
<nowiki>{{ClassSection|type=begin|title=}}</nowiki><br>
{{ClassSection|type=div<br>
+
<nowiki>{{ClassSection|type=div}}</nowiki><br>
{{ClassSection|type=end
+
<nowiki>{{ClassSection|type=end}}</nowiki>
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
  
-->{{#if:{{{title}}}|==={{{title}}}===|}}<!--
+
-->{{#if:{{{title|}}}|{{EditHeading|{{{title}}}|3}}|}}<!--
 
-->{{#ifeq:{{{type}}}|begin|<div style="display:inline-table;width:50%;min-width:350px;padding:10px;">|}}<!--
 
-->{{#ifeq:{{{type}}}|begin|<div style="display:inline-table;width:50%;min-width:350px;padding:10px;">|}}<!--
 
-->{{#ifeq:{{{type}}}|div|</div><div style="display:inline-table;width:50%;min-width:350px;padding:10px;">|}}<!--
 
-->{{#ifeq:{{{type}}}|div|</div><div style="display:inline-table;width:50%;min-width:350px;padding:10px;">|}}<!--
-->{{#ifeq:{{{type}}}|end|</div>{{Clear}}|}}</includeonly>
+
-->{{#ifeq:{{{type}}}|end|</div>|}}</includeonly>

Latest revision as of 21:14, 6 May 2021

Parameters

type(required): begin / div / end title(optional): The title of the section


Template: {{ClassSection|type=begin|title=}}
{{ClassSection|type=div}}
{{ClassSection|type=end}}