Difference between revisions of "ClassSection"
From P6 Spheres
| Line 2: | Line 2: | ||
=== Parameters === | === Parameters === | ||
'''type(required):''' begin / div / end | '''type(required):''' begin / div / end | ||
| + | '''title(optional):''' The title of the section | ||
----- | ----- | ||
'''Template:''' | '''Template:''' | ||
| − | {{ClassSection|type=begin<br> | + | {{ClassSection|type=begin|title=<br> |
{{ClassSection|type=div<br> | {{ClassSection|type=div<br> | ||
{{ClassSection|type=end | {{ClassSection|type=end | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
| + | -->{{#if:{{{title}}}|==={{{title}}}===|}}<!-- | ||
-->{{#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>{{Clear}}|}}</includeonly> | ||
Revision as of 21:53, 5 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