Jump to content

Template:Sidebar: Difference between revisions

From Resco's Wiki
new parameter float (default=floatright). render as inline-table (to allow displaying multiple TOCs in one line if needed)
Line 13: Line 13:
* Gama
* Gama
|title=Greek alphabet
|title=Greek alphabet
|width=500px
|width=20px
|float=none
|float=none
}}
}}
Line 21: Line 21:
* Gama
* Gama
|title=Greek alphabet
|title=Greek alphabet
|width=500px
|width=200px
|float=none
}}
}}
</pre>
</pre>

Revision as of 07:06, 22 January 2020

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=200px
|float=none
}}
Related information
{{Sidebar|[[File:Online.png]]}}

CATEGORIZATION

This template belongs to Category:Templates.

CODE

Related information
  • Article 1
  • Article 2
  • Article 3