Template:GroupInfoTable: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>Larry Sanger
No edit summary
Line 1: Line 1:
<table>
{|
{{#if:{{{3}}}|
{{#if:{{{3}}}|{{GroupInfoTableLine|{{{3}}} }}
  |-
{{#if:{{{4}}}|{{GroupInfoTableLine|{{{4}}} }}
  |{{{3}}} line one
{{#if:{{{4}}}|
  <tr><td>{{{4}}} line two</td></tr>
}} }}
}} }}
 
|}<!--
</table><!--


--><noinclude>
--><noinclude>

Revision as of 15:37, 18 January 2008

{{{2}}}. [[{{User/{{{3}}} |data=userplan-page}}|{{{3}}} ]]
[[{{fullurl:Template:User/{{{3}}} /{{{3}}}|action=edit}} edit all]]
(1) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-wk-1}} (2) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-wk-2}} (3) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-wk-3}} (4) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-wk-4}} (5) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-wk-5}} (1) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-lt-1}} (2) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-lt-2}} (3) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-lt-3}} (4) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-lt-4}} (5) {{User/{{{3}}} /{{{3}}}|data=Workgroup-plans-lt-5}} (1) {{User/{{{3}}} /{{{3}}}|data=Workgroup-roles-1}} (2) {{User/{{{3}}} /{{{3}}}|data=Workgroup-roles-2}} (3) {{User/{{{3}}} /{{{3}}}|data=Workgroup-roles-3}} (4) {{User/{{{3}}} /{{{3}}}|data=Workgroup-roles-4}} (5) {{User/{{{3}}} /{{{3}}}|data=Workgroup-roles-5}}
{{{2}}}. [[{{User/{{{4}}} |data=userplan-page}}|{{{4}}} ]]
[[{{fullurl:Template:User/{{{4}}} /{{{3}}}|action=edit}} edit all]]
(1) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-wk-1}} (2) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-wk-2}} (3) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-wk-3}} (4) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-wk-4}} (5) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-wk-5}} (1) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-lt-1}} (2) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-lt-2}} (3) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-lt-3}} (4) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-lt-4}} (5) {{User/{{{4}}} /{{{3}}}|data=Workgroup-plans-lt-5}} (1) {{User/{{{4}}} /{{{3}}}|data=Workgroup-roles-1}} (2) {{User/{{{4}}} /{{{3}}}|data=Workgroup-roles-2}} (3) {{User/{{{4}}} /{{{3}}}|data=Workgroup-roles-3}} (4) {{User/{{{4}}} /{{{3}}}|data=Workgroup-roles-4}} (5) {{User/{{{4}}} /{{{3}}}|data=Workgroup-roles-5}}

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.

Variable 1: Table type Variable 2: Workgroup or Initiative code, if any Variable 3 and higher: Usernames (if this works!)