Template: Group

From LibrePlanet
Jump to: navigation, search
(added field list)
m (include template test)
Line 1: Line 1:
 
<includeonly>{{Template:Menubar/Group}}<!--
 
<includeonly>{{Template:Menubar/Group}}<!--
-->{{Template:Group/Box|
+
--><includeonly><div style="float:right">
region={{{region}}}
+
<table style="border:1px solid">
 +
<tr style="color:#3465a4"><td style="text-align:right">Region</td>
 +
<td style="color:#b11107">{{{region</td></tr>
 +
 
 +
<tr style="color:#3465a4"><td style="text-align:right">Area</td>
 +
<td style="color:#b11107">{{{area}}}</td></tr>
 +
 
 +
<tr style="color:#3465a4"><td style="text-align:right">Language</td>
 +
<td style="color:#b11107">{{{language}}}</td></tr>
 +
 +
<tr style="color:#3465a4"><td style="text-align:right">Website</td>
 +
<td style="color:#b11107">{{{website|}}}</td></tr>
 +
 
 +
<tr style="color:#3465a4"><td style="text-align:right">List</td>
 +
<td style="color:#b11107">{{{list|}}}</td></tr>
 +
 
 +
<tr style="color:#3465a4"><td style="text-align:right">Contact</td>
 +
<td style="color:#b11107">[[User:{{{contact}}}|{{{contact}}}]]</td></tr>
 +
 
 +
<tr style="color:#3465a4"><td style="text-align:right">Members</td>
 +
<td style="color:#b11107">{{{members|None}}}</td></tr></table></div>
 +
</includeonly><!--
 +
 
 +
--><noinclude>
 +
{{Template: Title|first=Box|rest=Template
 +
|note=Use this template to create a box of information.
 +
}}
 +
This template produces an information box on the right margin.
 +
 
 +
Template syntax is:
 +
<pre>
 +
{{Template:box
 +
|region=
 +
|area=
 +
|language=
 +
|website=
 +
|list=
 +
|contact=
 +
|members=
 +
}}
 +
</pre>
 +
Where the fields are as follows:
 +
<dl>
 +
<dt>Region (region) [required]
 +
<dd>The group's location as defined in [[:Category:Region]].
 +
<dt>Area (area) [required]
 +
<dd>The group's location as defined in [[:Category:Area]].
 +
<dt>Language (language) [required]
 +
<dd>The group's preferred and the website's default language.
 +
<dt>Website (website) [optional]
 +
<dd>The group's alternative website not associated with <i>FSF Groups</i>.
 +
<dt>List (list) [optional]
 +
<dd>The group's public mailing list, if any.
 +
<dt>Contact (contact) [required]
 +
<dd>The group's authorized webmaster on <i>FSF Groups</i>.
 +
<dt>Members (members) [optional]
 +
<dd>Indicates the number of group members.
 +
</dl>
 +
[[Category:Template/Group]]
 +
</noinclude>}
 
|area={{{area}}}
 
|area={{{area}}}
 
|language={{{language}}}
 
|language={{{language}}}
Line 9: Line 68:
 
|members={{{members}}}
 
|members={{{members}}}
 
}}<!--
 
}}<!--
-->{{Template:Title|first={{{first}}}|rest={{{rest}}}|note={{{note}}} }}<!--
+
--><includeonly><!--
 +
--><div style="font-family:Wedding Text, Linotext, Old English Text MT, serif; font-size:58px; font-variant:small-caps; line-height:60px; text-align:center;"><font color="#b11107">{{{first</font> <font color="#3465a4">{{{rest}}}</font></div>
 +
<hr style="background-color:#b11107;" />
 +
<span style="font-style:italic">{{{note}}}</span><!--
 +
--><hr style="background-color:#b11107;" />
 +
</includeonly>
 +
<noinclude>
 +
Use this template to create a coloured header. The fields are:
 +
<dl>
 +
<dt>first
 +
<dd>First word in header
 +
<dt>rest
 +
<dd>Remaining words in header
 +
<dt>note
 +
<dd>An italic note below header between horizontal lines
 +
</dl>
 +
see [[Main Page]] for an example.
 +
[[Category:Template]]
 +
</noinclude>}|rest={{{rest}}}|note={{{note}}} }}<!--
 
-->{{{description}}}{{#subpages:}}
 
-->{{{description}}}{{#subpages:}}
 
[[Category:Region/{{{region}}}/{{{area}}}]]
 
[[Category:Region/{{{region}}}/{{{area}}}]]

Revision as of 15:55, 11 February 2009

BoxTemplate

Use this template to create a box of information.



This template produces an information box on the right margin.

Template syntax is:

{{Template:box
|region=
|area=
|language=
|website=
|list=
|contact=
|members=
}}

Where the fields are as follows:

Region (region) [required]
The group's location as defined in Category:Region.
Area (area) [required]
The group's location as defined in Category:Area.
Language (language) [required]
The group's preferred and the website's default language.
Website (website) [optional]
The group's alternative website not associated with FSF Groups.
List (list) [optional]
The group's public mailing list, if any.
Contact (contact) [required]
The group's authorized webmaster on FSF Groups.
Members (members) [optional]
Indicates the number of group members.

} |area={{{area}}} |language={{{language}}} |list={{{list}}} |website={{{website}}} |contact={{{contact}}} |members={{{members}}} }}

Use this template to create a coloured header. The fields are:

first
First word in header
rest
Remaining words in header
note
An italic note below header between horizontal lines

see Main Page for an example. }|rest={{{rest}}}|note={{{note}}} }}{{{description}}}{{#subpages:}} [[Category:Region/{{{region}}}/{{{area}}}]]

</includeonly>

GroupTemplate

Use this template to create your website's main page.



Template syntax:

{{Template:Group
|first=
|rest=
|note=
|region=
|area=
|language=
|list=
|website=
|contact=
|members=
|description=
}}

The template fields are taken from the Title and Box templates:

first
First word in group name
rest
Remaining words in group name
note
An italic note below group name between horizontal lines
Region (region) [required]
The group's location as defined in Category:Region.
Area (area) [required]
The group's location as defined in Category:Area.
Language (language) [required]
The group's preferred and the website's default language.
Website (website) [optional]
The group's alternative website not associated with FSF Groups.
List (list) [optional]
The group's public mailing list, if any.
Contact (contact) [required]
The group's authorized webmaster on FSF Groups.
Members (members) [optional]
Indicates the number of group members.

{{#subpages:}}