Difference between revisions of "Template:People-section"

From Worms Knowledge Base

Jump to: navigation, search
(new parameter: subpage)
Line 2: Line 2:
 
<onlyinclude>|- style="background-color: #ccdeff;"
 
<onlyinclude>|- style="background-color: #ccdeff;"
 
|style="border-right-width: 0; text-align: center;"| <span id="{{{1}}}">'''{{{1}}}'''</span><!--Nickname-->
 
|style="border-right-width: 0; text-align: center;"| <span id="{{{1}}}">'''{{{1}}}'''</span><!--Nickname-->
|style="border-width: 1px 0;"| <span style="display: none;">{{{1}}}</span><!--Clan-->
+
|style="border-width: 1px 0;"| <span style="display: none;">{{{1}}}</span>&nbsp;<!--Clan-->
|style="border-width: 1px 0;"| <span style="display: none;">{{{1}}}</span><!--Location-->
+
|style="border-width: 1px 0;"| <span style="display: none;">{{{1}}}</span>&nbsp;<!--Location-->
|style="border-width: 1px 0;"| <span style="display: none;">{{{1}}}</span><!--First Name-->
+
|style="border-width: 1px 0;"| <span style="display: none;">{{{1}}}</span>&nbsp;<!--First Name-->
|style="border-width: 1px 0;"| <!--W2-->
+
|style="border-width: 1px 0;"| &nbsp;<!--W2-->
|style="border-width: 1px 0;"| <!--WA-->
+
|style="border-width: 1px 0;"| &nbsp;<!--WA-->
|style="border-width: 1px 0;"| <!--WWP-->
+
|style="border-width: 1px 0;"| &nbsp;<!--WWP-->
 
|style="border-left-width: 0; text-align: right;"|{{#if:{{{subpage|}}}|&#91;[[{{{subpage}}}|view]]&#93; &#91;[[Talk:{{{subpage}}}|talk]]&#93; &#91;<span class="plainlinks">[{{fullurl:{{{subpage}}}|action=edit}} <span title="Edit section: {{{1}}}">edit</span>]</span>&#93;}} &#91;[[#top|top]]&#93;</onlyinclude>
 
|style="border-left-width: 0; text-align: right;"|{{#if:{{{subpage|}}}|&#91;[[{{{subpage}}}|view]]&#93; &#91;[[Talk:{{{subpage}}}|talk]]&#93; &#91;<span class="plainlinks">[{{fullurl:{{{subpage}}}|action=edit}} <span title="Edit section: {{{1}}}">edit</span>]</span>&#93;}} &#91;[[#top|top]]&#93;</onlyinclude>
 
|}
 
|}
 
----
 
----
;Usage
+
===Usage===
:<code><nowiki>{{People-section|letter}}</nowiki></code>
+
<code><nowiki>{{People-section|letter|subpage=subpage name}}</nowiki></code>
;Example
+
 
:<code><nowiki>{{People-section|B}}</nowiki></code>
+
The subpage parameter is optional.
 +
 
 +
===Examples===
 +
<code><nowiki>{{People-section|B}}</nowiki></code>
 +
{| width="100%" border="1" cellpadding="2" cellspacing="0"
 +
{{People-section|B}}
 +
|}
 +
<code><nowiki>{{People-section|B|subpage=People (B)}}</nowiki></code>
 +
{| width="100%" border="1" cellpadding="2" cellspacing="0"
 +
{{People-section|B|subpage=People (B)}}
 +
|}

Revision as of 02:06, 11 April 2010

{{{1}}} {{{1}}}  {{{1}}}  {{{1}}}        [top]

Usage

{{People-section|letter|subpage=subpage name}}

The subpage parameter is optional.

Examples

{{People-section|B}}

B B B B       [top]

{{People-section|B|subpage=People (B)}}

B B B B       [view] [talk] [edit] [top]
Personal tools