Difference between revisions of "Template:Chapter"

From FreeCulture.org
Jump to: navigation, search
(Creating a chapter semantics-ready template)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float: right; margin: 0 0 1em 2em; text-align: right; font-size: 0.86em; line-height: normal;">
 
<!-- floated right section -->
 
<div style="border: 1px solid #ccd2d9; background: #f0f6fa; text-align: left; padding: 0.5em 1em; text-align: center;"><!-- slate grey box -->
 
<font style="font: inherit; font-size: 100%; font-weight: bold; text-align: center; border: none; margin: 0; padding: 0; color: #6a6c76;">{{PAGENAME}}</font>
 
<table style="background: transparent; text-align: left; table-layout: auto; border-collapse: collapse; padding: 0; font-size: 100%;" cellspacing="0" cellpadding="0">
 
<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>
 
<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;">Location</th>
 
<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{location}}}</td></tr>
 
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Website</th>
 
<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">[{{{website}}} {{{website}}}]</td></tr>
 
<tr><th style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;">Chapter e-mail</th>
 
<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top">{{{email}}}</td></tr>
 
</table>
 
</div><!-- end of slate grey box -->
 
</div><!-- end of floated right section; article starts here -->
 
 
 
 
<noinclude>
 
<noinclude>
 
This is the 'Chapter' template. It should be called in the following format:
 
This is the 'Chapter' template. It should be called in the following format:
Line 23: Line 4:
 
{{Chapter
 
{{Chapter
 
|name=
 
|name=
 +
|subdomain=
 +
|uri=
 +
|blog=
 +
|wiki=
 +
|mailinglist=
 +
|coremembers=
 +
|budget=
 +
|budgetsize=
 +
|Ship cc=
 +
|Ship eff=
 +
|Ship pk=
 +
|school=
 +
|contact=
 +
|is approved=
 +
|approved by school=
 +
|is active=
 +
|Last re-registered=
 
}}
 
}}
 
</pre>
 
</pre>
Line 28: Line 26:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{| border="0" cellpadding="4" cellspacing="4"
+
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; text-align:left; float: right;"
! Chapter name
+
! style="text-align: center; background-color:#cdcdcd;" colspan="2" |<big>{{PAGENAME}}</big>
 +
|-
 +
! name
 
| [[Name::{{{name|}}}]]
 
| [[Name::{{{name|}}}]]
 +
|-
 +
! subdomain
 +
| [[Subdomain::{{{subdomain|}}}]]
 +
|-
 +
! uri
 +
| [[Uri::{{{uri|}}}]]
 +
|-
 +
! blog
 +
| [[Blog::{{{blog|}}}]]
 +
|-
 +
! wiki
 +
| [[Wiki::{{{wiki|}}}]]
 +
|-
 +
! mailinglist
 +
| [[Mailinglist::{{{mailinglist|}}}]]
 +
|-
 +
! # of core members
 +
| [[Coremembers::{{{coremembers|}}}]]
 +
|-
 +
! Has a budget?
 +
| [[Budget::{{{budget|}}}]]
 +
|-
 +
! Budget size
 +
| [[Budgetsize::{{{budgetsize|}}}]]
 +
|-
 +
! Ship CC goodies?
 +
| [[Ship cc::{{{Ship cc|}}}]]
 +
|-
 +
! Ship EFF goodies?
 +
| [[Ship eff::{{{Ship eff|}}}]]
 +
|-
 +
! Ship PK goodies?
 +
| [[Ship pk::{{{Ship pk|}}}]]
 +
|-
 +
! School
 +
| [[School::{{{school|}}}]]
 +
|-
 +
! Contact
 +
| [[Contact::User:{{{contact|}}}]]
 +
|-
 +
! Has been reviewed + approved by SFC?
 +
| [[Approved by SFC::{{{is approved|}}}]]
 +
|-
 +
! Has been approved by the school?
 +
| [[Approved by School::{{{approved by school|}}}]]
 +
|-
 +
! Is active?
 +
| [[Is active::{{{is active|}}}]]
 +
|-
 +
! Last re-registered?
 +
| [[Last re-registered::{{{Last re-registered|}}}]]
 
|}
 
|}
  
 
[[Category:Chapter]]
 
[[Category:Chapter]]
 
</includeonly>
 
</includeonly>

Latest revision as of 18:06, 10 August 2008

This is the 'Chapter' template. It should be called in the following format:

{{Chapter
|name=
|subdomain=
|uri=
|blog=
|wiki=
|mailinglist=
|coremembers=
|budget=
|budgetsize=
|Ship cc=
|Ship eff=
|Ship pk=
|school=
|contact=
|is approved=
|approved by school=
|is active=
|Last re-registered=
}}

Edit the page to see the template text.