In Memoriam: Tai'lahr

OpenUru.org, along with the rest of the Mystonline community, is mourning the loss of Tai'lahr on October 16th, 2019.

Rest in Peace, friend.

Difference between revisions of "Template:Sidebar/doc"

From OpenUru
Jump to navigation Jump to search
(Created page with '{{sidebar|right|250|Here is an example of a side bar. It's only a little one}} This allows a "sidebar" to be inserted into the current page. This takes three parameters: * The si…')
 
(Added title to example)
 
Line 1: Line 1:
{{sidebar|right|250|Here is an example of a side bar. It's only a little one}}
+
{{sidebar|right|250|'''''Sidebar Title'''''<hr>Here is an example of a side bar. It's only a little one}}
 
This allows a "sidebar" to be inserted into the current page. This takes three parameters:
 
This allows a "sidebar" to be inserted into the current page. This takes three parameters:
 
* The side of the page that the side =bar will "float" to, either '''left''' or '''right'''
 
* The side of the page that the side =bar will "float" to, either '''left''' or '''right'''
Line 8: Line 8:
  
 
As an example, the sidebar shown at the right was produced by the following code:
 
As an example, the sidebar shown at the right was produced by the following code:
  <nowiki>{{sidebar|right|250|Here is an example of a side bar. It's only a little one}}</nowiki>
+
  <nowiki>{{sidebar|right|250|'''''Sidebar Title'''''<hr>Here is an example of a side bar. It's only a little one}}</nowiki>

Latest revision as of 01:01, 2 June 2010

Sidebar Title
Here is an example of a side bar. It's only a little one

This allows a "sidebar" to be inserted into the current page. This takes three parameters:

  • The side of the page that the side =bar will "float" to, either left or right
  • The width of the side bar in pixels (250 is a good number to start with if you're not sure about this)
  • The text that is to appear in the side bar

Text is able to flow around and under the sidebar.

As an example, the sidebar shown at the right was produced by the following code:

{{sidebar|right|250|'''''Sidebar Title'''''<hr>Here is an example of a side bar. It's only a little one}}