Jump to content

Template:Sidebar: Difference between revisions

From Resco's Wiki
CODE: update for mediawiki 1.43
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
* Gama
* Gama
|title=Greek alphabet
|title=Greek alphabet
|width=20px
|width=400px
|float=none
}}
}}
<pre>{{Sidebar|
<pre>{{Sidebar|
Line 21: Line 20:
* Gama
* Gama
|title=Greek alphabet
|title=Greek alphabet
|width=200px
|width=400px
|float=none
}}
}}
</pre>
</pre>
Line 34: Line 32:


== CODE ==
== CODE ==
</noinclude>{| class="wikitable sortable mw-collapsible {{{float|floatright}}}" style="display: inline-table; border: 1px solid steelblue; width:{{{width|300px}}}"  
</noinclude><div class="{{{float|floatright}}}" style="margin: 0 0 1em 1em;">
|-
{| class="wikitable mw-collapsible" style="border: 1px solid steelblue; width:{{{width|300px}}}"
|-
! style="text-align: left;" | {{{title|Related information}}}
! style="text-align: left;" | {{{title|Related information}}}
|-
|-
Line 43: Line 42:
* Article 3}}}
* Article 3}}}
|}
|}
</div>

Latest revision as of 07:37, 19 December 2025

USAGE

{{Sidebar|''stuff'' | title = Hello | width = 250 px | float = none}}

  • stuff is usually a bulleted list
  • title is the title of the sidebar; default: Related information
  • width is the width of the sidebar; default: 300px
  • float is where the sidebar goes; default: floatright

EXAMPLES

Greek alphabet
  • Alpha
  • Beta
  • Gama
{{Sidebar|
* Alpha
* Beta
* Gama
|title=Greek alphabet
|width=400px
}}
Related information
{{Sidebar|[[File:Online.png]]}}

CATEGORIZATION

This template belongs to Category:Templates.

CODE

Related information
  • Article 1
  • Article 2
  • Article 3