Template:Community: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Peter Schmitt
No edit summary
mNo edit summary
 
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|width=80% align=center border="0" cellpadding="4" cellspacing="0" style="border-bottom:1px solid #999999; border-top:1px solid #dddddd; border-left:1px solid #aaaaaa; border-right:1px solid #dddddd; margin:0 auto; clear: both;" class="collapsible {{{1}}}"  
{|width=80% align=center border="0" cellpadding="4" cellspacing="0" style="border-bottom:1px solid #999999; border-top:1px solid #dddddd; border-left:1px solid #aaaaaa; border-right:1px solid #dddddd; margin:0 auto; clear: both;" class="collapsible {{{hide}}}"  
!align=center colspan=3 style="background:#{{{color}}}"| ''Citizendium'' [[CZ:{{{title}}}|{{{title}}}]]
!align=center colspan=3 style="background:#{{{color}}}"| ''Citizendium'' [[CZ:{{{title}}}|{{{title}}}]]
|-
|-
|style="background:#f5f5f5" align=center colspan=3|{{#if: {{{link1|}}}|{{{link1}}}|}} {{#if: {{{link2|}}}|&#124; {{{link2}}}|}} {{#if: {{{link3|}}}|&#124; {{{link3}}}|}} {{#if: {{{link4|}}}|&#124; {{{link4}}}|}} {{#if: {{{link5|}}}|&#124; {{{link5}}}|}} {{#if: {{{link6|}}}|&#124; {{{link6}}}|}} {{#if: {{{link7|}}}|&#124; {{{link7}}}|}} {{#if: {{{link8|}}}|&#124; {{{link8}}}|}} {{#if: {{{link9|}}}|&#124; {{{link9}}}|}} {{#if: {{{link10|}}}|&#124; {{{link10}}}|}} {{#if: {{{link11|}}}|&#124; {{{link11}}}|}} {{#if: {{{link12|}}}|&#124; {{{link12}}}|}} &#124; [[:Category:{{{title}}}|Other]]{{#if: {{{seealso1|}}}|<br>See also: {{{seealso1}}}|}} {{#if: {{{seealso2|}}}|&#124; {{{seealso2}}}|}} {{#if: {{{seealso3|}}}|&#124; {{{seealso3}}}|}}
|style="background:#f5f5f5" align=center colspan=3|{{#if: {{{link1|}}}|{{{link1}}}|}} {{#if: {{{link2|}}}|&#124; {{{link2}}}|}} {{#if: {{{link3|}}}|&#124; {{{link3}}}|}} {{#if: {{{link4|}}}|&#124; {{{link4}}}|}} {{#if: {{{link5|}}}|&#124; {{{link5}}}|}} {{#if: {{{link6|}}}|&#124; {{{link6}}}|}} {{#if: {{{link7|}}}|&#124; {{{link7}}}|}} {{#if: {{{link8|}}}|&#124; {{{link8}}}|}} {{#if: {{{link9|}}}|&#124; {{{link9}}}|}} {{#if: {{{link10|}}}|&#124; {{{link10}}}|}} {{#if: {{{link11|}}}|&#124; {{{link11}}}|}} {{#if: {{{link12|}}}|&#124; {{{link12}}}|}}  
|-
 
|width=10% align=center style="background:#f5f5f5"|<small>[[CZ:Home|Home]]</small>
|style="background:#F5F5F5"|
{|border="0" align=center cellpadding=3px style="background:#F5F5F5; cell-spacing:2px;"
|align="center" NOWRAP|<small>[[CZ:Getting Started|Getting Started]]</small>
|align="center" NOWRAP|<small>[[CZ:Organization|Organization]]</small>
|align="center" NOWRAP|<small>[[CZ:Technical Help|Technical Help]]</small>
|align="center" NOWRAP|<small>[[CZ:Content Policy|Content Policy]]</small>
|align="center" NOWRAP|<small>[[CZ:Article Lists|Article Lists]]</small>
|-
|align="center" NOWRAP|<small>[[CZ:Initiatives|Initiatives]]</small>
|align="center" NOWRAP|<small>[[CZ:Communication|Communication]]</small>
|align="center" NOWRAP|<small>[[CZ:Editor Policy|Editor Policy]]</small>
|align="center" NOWRAP|<small>[[CZ:Editorial Council|Editorial Council]]</small>
|align="center" NOWRAP|<small>[[CZ:Constabulary|Constabulary]]</small>
|}
|}
|width=10% align=center style="background:#F5F5F5"|<small>[[Main Page]]</small>
|width=10% align=center style="background:#F5F5F5"|&nbsp;
|}
|}
<includeonly>{{#ifeq:{{PAGENAME}}|{{{title}}}||[[Category:{{{title}}}]]}}</includeonly><noinclude>
<includeonly>{{#if:{{{CatNo|}}}||{{#ifeq:{{PAGENAME}}|{{{title}}}||{{#ifeq: {{NAMESPACE}} | CZ | [[Category:{{{title}}}]]}}}}}}</includeonly><noinclude>
 
{{TlDoc}}</noinclude>
 
'''TRANSFER ANY EDITS YOU MAKE TO THIS PAGE to {{tl|Community without category}}.  Yes, it's a kluge...'''</noinclude>

Latest revision as of 08:40, 31 October 2024

Citizendium [[CZ:{{{title}}}|{{{title}}}]]

|width=10% align=center style="background:#F5F5F5"|  |}


This documentation is transcluded from Template:Community/doc (edit | history)

TRANSFER ANY EDITS YOU MAKE TO THIS PAGE to {{Community without category}}. Yes, it's a kludge...

Note:
If variable "title" is not equal to the "PAGENAME" this template adds the page to "Category:title" while Template:Community without category does not.

variables:

title                   of a page in CZ name space
link1 ... link12        up to 12 optional links
seealso1 ... seealso3   up to  3 optional links
hide                    if set to "collapsed": box is shown hidden as default   
CatNo                   if not empty: suppresses adding category 

usage: see Template:Editor Policy for an example.

 {{community
   | title = Some Page
   | link1 = [[some link]]
   ...
   | seealso = [[also a link]]
   | hide = collapsed                 % if this is desired
   | CatNo = yes                      % if page should not be added to category 
 }}