Template:Community: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Peter Schmitt
(added explanation and usage)
imported>John Stephenson
(update links)
(13 intermediate revisions by 4 users not shown)
Line 9: Line 9:
|align="center" NOWRAP|<small>[[CZ:Getting Started|Getting Started]]</small>
|align="center" NOWRAP|<small>[[CZ:Getting Started|Getting Started]]</small>
|align="center" NOWRAP|<small>[[CZ:Organization|Organization]]</small>
|align="center" NOWRAP|<small>[[CZ:Organization|Organization]]</small>
|align="center" NOWRAP|<small>[[CZ:Communication|Communication]]</small>
|align="center" NOWRAP|<small>[[CZ:Technical Help|Technical Help]]</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:Initiatives|Initiatives]]</small>
|-
|align="center" NOWRAP|<small>[[CZ:Policies|Policies]]</small>
|align="center" NOWRAP|<small>[[CZ:Editor Policy|Editor Guidance]]</small>
|align="center" NOWRAP|<small>[[CZ:Content Policy|Content Guidance]]</small>
|align="center" NOWRAP|<small>[[CZ:Article Lists|Article Lists]]</small>
|align="center" NOWRAP|<small>[[CZ:Article Lists|Article Lists]]</small>
|-
|align="center" NOWRAP|<small>[[CZ:Governance|Governance]]</small>
|align="center" NOWRAP|<small>[[CZ:Initiatives|Initiatives]]</small>
<!--|align="center" NOWRAP|<small>[[CZ:Council|Citizendium Council]]</small>
|align="center" NOWRAP|<small>[[CZ:Communication|Communication]]</small>
|align="center" NOWRAP|<small>[[CZ:Moderator Group|Moderators]]</small>
|align="center" NOWRAP|<small>[[CZ:Editor Policy|Editor Policy]]</small>
|align="center" NOWRAP|<small>[[CZ:Elections|Elections]]</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"|<small>[[Welcome to Citizendium|Welcome Page]]</small>
|}
|}
<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 kludge...'''
 
'''Note''': <br>
If variable "title" equals 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 
 
usage: see [[Template:Editor Policy]] for an example.
<pre><nowiki>
{{community
  | title = Some Page
  | link1 = [[some link]]
  ...
  | seealso = [[also a link]]
  | hide = collapsed                % if this is desired
}}       
</nowiki></pre>
</noinclude>

Revision as of 09:51, 15 November 2016

Citizendium [[CZ:{{{title}}}|{{{title}}}]]
| [[:Category:{{{title}}}|Other]]
Home
Getting Started Organization Communication Technical Help Initiatives
Policies Editor Guidance Content Guidance Article Lists Governance
Welcome Page


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 
 }}