Template:GroupInfoTable: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>Chris Day
No edit summary
 
(78 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|
{| class=wikitable
{{#if:{{{3}}}|{{GroupInfoTableLine|{{{3}}} }}
!colspan=4 style="background-color:lightgrey"|<big>''Citizendium'' Status - {{#ifeq:{{{1}}}|All|All Citizens|[[CZ:{{WorkgroupCodeToFullName|{{{1}}} }}|{{WorkgroupCodeToFullName|{{{1}}} }}]] }}</big>
{{#if:{{{4}}}|{{GroupInfoTableLine|{{{4}}} }}
|-
}} }}
!colspan=4 style="background-color:lightgrey"|{{#ifeq:{{{1}}}|All|Users [[CZ:Group Status|1-10]]{{#if:{{{13|}}}|&nbsp;• {{#ifexist:CZ:Group Status/11|[[CZ:Group Status/11|11-20]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/11 start page for 11-20]}}{{#if:{{{23|}}}|&nbsp;• {{#ifexist:CZ:Group Status/21|[[CZ:Group Status/21|21-30]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/21 start page for 21-30]}}{{#if:{{{33|}}}|&nbsp;• {{#ifexist:CZ:Group Status/31|[[CZ:Group Status/31|31-40]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/31 start page for 31-40]}}{{#if:{{{43|}}}|&nbsp;• {{#ifexist:CZ:Group Status/41|[[CZ:Group Status/41|41-50]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/41 start page for 41-50]}}{{#if:{{{53|}}}|&nbsp;• {{#ifexist:CZ:Group Status/51|[[CZ:Group Status/51|51-60]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/51 start page for 51-60]}}{{#if:{{{63|}}}|&nbsp;• {{#ifexist:CZ:Group Status/61|[[CZ:Group Status/61|61-70]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/61 start page for 61-70]}}{{#if:{{{73|}}}|&nbsp;• {{#ifexist:CZ:Group Status/71|[[CZ:Group Status/71|71-80]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/71 start page for 71-80]}}{{#if:{{{83|}}}|&nbsp;• {{#ifexist:CZ:Group Status/81|[[CZ:Group Status/81|81-90]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/81 start page for 81-90]}}{{#if:{{{93|}}}|&nbsp;• {{#ifexist:CZ:Group Status/91|[[CZ:Group Status/91|91-100]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+group+status+page&title=CZ:Group+Status/91 start page for 91-100]}}{{#if:{{{103|}}}|Over 100 users in system, time to expand [[Template:GroupInfoTable]] }} }} }} }} }} }} }} }} }}|No data}}|<!--
|}<!--


--><noinclude>
Workgroups & initiatives


The template should take info about the desired table ''type'' (e.g., plans), crunch it together with [[Template:UserInfoListAll]] (the list of all users in the userinfo system), and spit out a pretty table.  The aim is to make this fully generalizable, so that we can use this one template for all different table types.
-->{{#ifeq:{{{3}}}|PUT_NAME_HERE|'''Need data'''|Users [[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status|1-10]]{{#if:{{{13|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/11|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/11|11-20]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/11 start page for 11-20]}}
 
{{#if:{{{23|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/21|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/21|21-30]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/21 start page for 21-30]}}{{#if:{{{33|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/31|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/31|31-40]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/31 start page for 31-40]}}{{#if:{{{43|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/41|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/41|41-50]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/41 start page for 41-50]}}{{#if:{{{53|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/51|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/51|51-60]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/51 start page for 51-60]}}{{#if:{{{63|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/61|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/61|61-70]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/61 start page for 61-70]}}{{#if:{{{73|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/71|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/71|71-80]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/71 start page for 71-80]}}{{#if:{{{83|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/81|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/81|81-90]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/81 start page for 81-90]}}{{#if:{{{93|}}}|&nbsp;• {{#ifexist:CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/Status/91|[[CZ:{{WorkgroupCodeToFullName|{{{1}}}}}/91|91-100]]| [http://en.citizendium.org/wiki?action=edit&preload=Template:Prefill+for+new+workgroup+status+page&title=CZ:{{urlencode:{{WorkgroupCodeToFullName|{{{1}}}}}}}/Status/91 start page for 91-100]}}{{#if:{{{103|}}}|Over 100 users in system, time to expand [[Template:GroupInfoTable]] }} }} }} }} }} }} }} }} }} }}
Variable 1: Table type
}} }} {{#ifeq:{{{1}}}|All||• [[CZ:Group Status|All Groups]] }}
Variable 2: Workgroup or Initiative code, if any
{{#ifeq:{{{3}}}|PUT_NAME_HERE|<br><br><big>'''Get this workgroup status page started!<br>[[CZ:Userinfo System#Step 6: create info for your workgroup(s)|Complete Steps 6 and 7, here!]]'''</big><br><br>|
Variable 3 and higher: Usernames (if this works!)
{{!}}-
 
{{!}}width=15% align=center{{!}}'''Name'''{{!}}{{!}}width=35% align=center{{!}}'''Short term plan'''{{!}}{{!}}width=35% align=center{{!}}'''Longer-term plan'''{{!}}{{!}}width=15% align=center{{!}}'''Roles in the system'''
</noinclude>
{{#if:{{{{{#expr:{{{2}}}+2}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+2}} }}}|{{#expr:{{{2}}}}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+3}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+3}} }}}|{{#expr:{{{2}}}+1}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+4}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+4}} }}}|{{#expr:{{{2}}}+2}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+5}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+5}} }}}|{{#expr:{{{2}}}+3}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+6}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+6}} }}}|{{#expr:{{{2}}}+4}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+7}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+7}} }}}|{{#expr:{{{2}}}+5}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+8}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+8}} }}}|{{#expr:{{{2}}}+6}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+9}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+9}} }}}|{{#expr:{{{2}}}+7}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+10}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+10}} }}}|{{#expr:{{{2}}}+8}}|{{{1}}} }}
{{#if:{{{{{#expr:{{{2}}}+11}}|}}}|{{GroupInfoTableLine|{{{{{#expr:{{{2}}}+11}} }}}|{{#expr:{{{2}}}+9}}|{{{1}}} }}
}} }} }} }} }} }} }} }} }} }}
{{!}}-
{{!}}colspan="4"{{!}}{{#ifeq:{{{1}}}|All|'''[[CZ:Userinfo System#How_to_get_started|Add your name!  Join the Userinfo System.]]'''|* '''[[CZ:Userinfo System#Step 6: create info for your workgroup(s)|Add ''your'' info to this workgroup list!]]'''
* '''Already filled out your info for this workgroup?  [[Template:UserinfoSystemUsers/{{{1}}}|Add your username to the workgroup list!]]''' }} }}
|}<noinclude>{{UserInfoDevLinks}}</noinclude>

Latest revision as of 02:01, 24 January 2009

Citizendium Status - [[CZ:|]]
Users 1-10All Groups
Name Short term plan Longer-term plan Roles in the system