Jump to content

Template:Sidebar: Difference between revisions

From Resco's Wiki
Created page with "<noinclude> == USAGE == <nowiki> {{Sidebar|''stuff'' | title = Hello | width = 250 px}} </nowiki> * ''stuff'' is usually a bulleted list * title is the title of the sidebar; d..."
 
CODE: update for mediawiki 1.43
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== USAGE ==
== USAGE ==
<nowiki> {{Sidebar|''stuff'' | title = Hello | width = 250 px}} </nowiki>
<nowiki> {{Sidebar|''stuff'' | title = Hello | width = 250 px | float = none}} </nowiki>
* ''stuff'' is usually a bulleted list
* ''stuff'' is usually a bulleted list
* title is the title of the sidebar; default: Related information
* title is the title of the sidebar; default: Related information
* width is the width of the sidebar; default: 300px
* width is the width of the sidebar; default: 300px
* float is where the sidebar goes; default: floatright


== EXAMPLES ==
== EXAMPLES ==
Line 12: Line 13:
* Gama
* Gama
|title=Greek alphabet
|title=Greek alphabet
|width=500px
|width=400px
}}
}}
<pre>{{Sidebar|
<pre>{{Sidebar|
Line 19: Line 20:
* Gama
* Gama
|title=Greek alphabet
|title=Greek alphabet
|width=500px
|width=400px
}}
}}
</pre>
</pre>
Line 31: Line 32:


== CODE ==
== CODE ==
</noinclude>{| class="wikitable sortable mw-collapsible floatright" style="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 40: 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