Difference between revisions of "Template:Sidebar"

From NsdWiki
Jump to: navigation, search
Line 11: Line 11:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| align="right" class="book-sidebar"
+
{| class="book-sidebar" style="width:38%;float:right;padding-left:1em;"
 
{{ #if:{{{caption|}}}|
 
{{ #if:{{{caption|}}}|
 
+{{{caption}}}|
 
+{{{caption}}}|
 
}}
 
}}
 
|-
 
|-
{{{1|}}}{{{text|}}}
+
| {{{1|}}}{{{text|}}}
 
|-
 
|-
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revision as of 18:14, 28 June 2010

This template is used to display some thoughts on the right-hand side of the text. (When the book is published, it will be formatted for best display, not necessarily on the right).


Test
Here is all of my text that should be supplied into the sidebar.

It is good times.

The two parameters are caption and text.

{{Sidebar|caption=Test|text=Here is all of my text that should be supplied into the sidebar.

It is good times.}}