Difference between revisions of "Template:Sidebar"

From NsdWiki
Jump to: navigation, search
Line 10: Line 10:
 
It is good times.}}</nowiki></pre>
 
It is good times.}}</nowiki></pre>
  
</noinclude><includeonly>{| align="right" class="book-sidebar"
+
</noinclude><includeonly>
 +
{| align="right" class="book-sidebar"
 
{{ #if:{{{caption|}}}|
 
{{ #if:{{{caption|}}}|
 
+{{{caption}}}|
 
+{{{caption}}}|
Line 17: Line 18:
 
{{{1|}}}{{{text|}}}
 
{{{1|}}}{{{text|}}}
 
|-
 
|-
|}</includeonly>
+
|}
 +
</includeonly>

Revision as of 18:13, 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.}}