Template:ExpandableSummary: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(A short expandable summary)
 
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div style="overflow: hidden;">
{| class="mw-collapsible mw-collapsed wikitable" style="width:100%; margin:auto; text-align:left;"
===== {{{Title|Summary Title}}} =====
|+ style="text-align:left;" |  '''{{{Title|Summary Title}}}''' — {{{Short Description|Short Description}}}
{| class="mw-collapsible mw-collapsed wikitable" style="width:100%; margin:auto; text-align:left; font-weight: normal;"
| {{{Long Description}}}
|-
| style="background-color: white;" |  {{{Short Description|Short Description}}}
|-
| {{{Long Description}}} {{#if: {{{SimRefs|}}}| <br><br><small>''Sim References: ''<br>{{{SimRefs}}}</small>}}
|}
|}
 
</div>
</includeonly>
</includeonly>


Line 12: Line 15:
|Short Description=<br>1-2 sentences <br><br>
|Short Description=<br>1-2 sentences <br><br>
|Long Description=<br>As long as you like <br><br>
|Long Description=<br>As long as you like <br><br>
|SimRefs=<br><nowiki>https://www.link1.com</nowiki><br><nowiki>https://www.link2.com</nowiki><br><br>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
<br><br>'''Note: Sim Refs are optional'''


==Example:==
==Example:==
{{ExpandableSummary
{{ExpandableSummary
|Title=Summary Title


|Short Description=
|Short Description=
Line 22: Line 29:
|Long Description=
|Long Description=
As long as you like
As long as you like
|SimRefs=
https://www.link1.com
https://www.link2.com


}}
}}

Latest revision as of 19:36, 15 June 2024


How to use this template:

{{ExpandableSummary

|Short Description=
1-2 sentences

|Long Description=
As long as you like

|SimRefs=
https://www.link1.com
https://www.link2.com

}}

Note: Sim Refs are optional

Example:

Summary Title
1-2 sentences
As long as you like

Sim References: 
https://www.link1.com

https://www.link2.com