×
Create a new article
Write your page title here:
We currently have 2,490 articles on Polcompball Wiki. Type your article name above or click on one of the titles below and start writing!



Polcompball Wiki

Template:OptionalSection: Difference between revisions

imported>TheGhostOfInky
m (TheGhostOfInky moved page User:TheGhostOfInky/Sandbox/template to Template:OptionalSection without leaving a redirect)
imported>TheGhostOfInky
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{content|}}}
<includeonly>{{#if:{{{content|}}}
|==={{{title}}}===
|=={{{title}}}==
{{{content}}}
{{{content}}}
|<span style="display: none;"></span>}}</includeonly><noinclude>
|<span style="display: none;"></span>}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 17:03, 12 March 2023

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=
}}

Recent changes

  • SocialistWorldRepublic • Yesterday at 23:21
  • JAcket • Yesterday at 23:09
  • Iziaslav • Yesterday at 21:24
  • Iziaslav • Yesterday at 20:34