Difference between revisions of "ClassSection"
From P6 Spheres
(Created page with "<noinclude> === Parameters === '''type(required):''' begin / div / end </noinclude><includeonly><!-- -->{{#ifeq:{{{type}}}|begin|<div style="display:inline-table;width:50%;m...") |
|||
| (7 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
=== Parameters === | === Parameters === | ||
'''type(required):''' begin / div / end | '''type(required):''' begin / div / end | ||
| + | '''title(optional):''' The title of the section | ||
| + | ----- | ||
| + | |||
| + | '''Template:''' | ||
| + | <nowiki>{{ClassSection|type=begin|title=}}</nowiki><br> | ||
| + | <nowiki>{{ClassSection|type=div}}</nowiki><br> | ||
| + | <nowiki>{{ClassSection|type=end}}</nowiki> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
| + | -->{{#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> | + | -->{{#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}}