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>
<table>
{{#if:{{{3}}}|
{{#if:{{{3|}}}|
   <tr><td>{{{3}}}</td></tr>
   <tr><td>{{{3}}}</td></tr>
{{#if:{{{4}}}|
{{#if:{{{4|}}}|
   <tr><td>{{{4}}}</td></tr>
   <tr><td>{{{4}}}</td></tr>
}} }}
}} }}

Revision as of 10:39, 18 January 2008

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!)