×
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
(Created page with "{{#if:{{{content|}}} |==={{{title}}}=== {{{content}}} |}}")
 
imported>Aycee Lovelace
(Undo revision 356105 by TheGhostOfInky (talk))
 
(7 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 17:07, 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

  • Iziaslav • 1 hour ago
  • Iziaslav • 20:34
  • Iziaslav • 20:33
  • Iziaslav • 20:24