Difference between revisions of "Template:Chapter"

From FreeCulture.org
Jump to: navigation, search
(Creating a chapter semantics-ready template)
(Semantic template, same style)
Line 6: Line 6:
 
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">School</th>
 
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">School</th>
 
<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">[{{{schoolsite}}} {{{school}}}]</td></tr>
 
<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">[{{{schoolsite}}} {{{school}}}]</td></tr>
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Chapter name</th><td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{name}}}</td></tr>
+
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Chapter name</th><td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">[[Name::{{{name|}}}]]</td></tr>
 
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Location</th>
 
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Location</th>
 
<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{location}}}</td></tr>
 
<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{location}}}</td></tr>
Line 16: Line 16:
 
</div><!-- end of slate grey box -->
 
</div><!-- end of slate grey box -->
 
</div><!-- end of floated right section; article starts here -->
 
</div><!-- end of floated right section; article starts here -->
 
 
<noinclude>
 
This is the 'Chapter' template. It should be called in the following format:
 
<pre>
 
{{Chapter
 
|name=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
</noinclude>
 
<includeonly>
 
{| border="0" cellpadding="4" cellspacing="4"
 
! Chapter name
 
| [[Name::{{{name|}}}]]
 
|}
 
 
[[Category:Chapter]]
 
</includeonly>
 

Revision as of 07:00, 25 October 2007

Chapter

School [{{{schoolsite}}} {{{school}}}]
Chapter nameName::
Location {{{location}}}
Website [{{{website}}} {{{website}}}]
Chapter e-mail {{{email}}}