imported>TheGhostOfInky No edit summary |
imported>Aycee Lovelace (Undo revision 356105 by TheGhostOfInky (talk)) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{content|}}} | <includeonly>{{#if:{{{content|}}} | ||
|==={{{title}}}=== | |==={{{title}}}=== | ||
{{{content}}} | {{{content}}} | ||
| | |<span style="display: none;"></span>}}</includeonly><noinclude> | ||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 18:07, 12 March 2023
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
This template serves the purpose of showing a title + content section if there is content present.
Syntax
{{OptionalSection |title=<Title text> |content=<Content text> }}
Example Usage
This text will
be displayed
{{OptionalSection |title=This text will |content=be displayed }} {{OptionalSection |title=This text won't |content= }}