Difference between revisions of "Template:Sidebar"

From NsdWiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
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}}}|
 
}}
 
}}
 
|-
 
|-
{{{1|}}}{{{text|}}}
+
| {{{1|}}}{{{text|}}}
 
|-
 
|-
|}</includeonly>
+
|}
 +
</includeonly>

Latest revision as of 18:15, 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.}}