Reforming the First Year Engineering Experience

Render Team

This topic defines the layout of basic topic data in Team topics. It is called from TeamViewTemplate.

%STARTINCLUDE%<noautolink>
%~~ DBQUERY{topic="%SOURCE%"
~~~   footer="$n$n"
~~~   format="---++ $expand(TopicTitle) 
~~~     <span style='font-size:.8em;font-style:italic;'><br />$expand('&quot;' and Summary and '&quot;')</span>
~~~     $n$n _A [[Team][Team]] comprised of:_ 
~~~     $n$percntFORMATLIST{\"$expand(Members)\"
~~~        separator=\"$n\"
~~~        format=\"   * 
~~~          $dollarpercntIFEXISTS{\\"%MAINWEB%.$1\\"
~~~              then=\\"
*~~                $dollardollarpercntDBQUERY{topic=\\\"$1\\\"
~~~                   web=\\\"%MAINWEB%\\\"
~~~                   format=\\\"[[$dollarweb.$dollartopic][$dollarexpand(FirstName) $dollarexpand(LastName)]] 
~~~                     <em>$dollarexpand(' - ' and OrganisationName)$dollarexpand('/' and Department)</em>\\\"
~~~                 }$dollardollarpercnt\\"
~~~              else=\\"$dollardollarpercntSPACEOUT{$1}$dollardollarpercnt\\"
~~~              glue=\\"off\\"
~~~           }$dollarpercnt\"
~~~       }$percnt
~~~     $n$n---++ Team-related topics
~~~     $percntFORMATLIST{\"$expand(RelatedTopics)
*~~         $percntDBQUERY{\"Team = '%BASETOPIC%' OR RelatedTopics = '.*%BASETOPIC%.*'\"
~~~             format=\"$dollartopic\" 
~~~             separator=\", \"
~~~             header=\", \"
~~~             hidenull=\"on\"
~~~         }$percnt\"
~~~       header=\"$n\"
~~~       separator=\"$n\"
~~~       sort=\"on\"
~~~       format=\"$dollarpercntDBQUERY{topic=\\"$1\\" 
~~~           web=\\"%BASEWEB%\\"
~~~           format=\\"   * [[$dollarweb.$dollartopic][$dollarexpand(TopicTitle)]] - $dollarexpand(Summary) \\"
~~~           separator=\\" \\"
~~~           }$dollarpercnt\"
~~~     }$percnt
~~~     "
~~~ }%</noautolink>
<form name='postNew' action='%SCRIPTURL{view}%/%WEB%/CreateNewTopic' >
<input type='hidden' name='Team' value='%BASETOPIC%' />
<input type='hidden' name='step' value='two' />
%ICON{hand}% Post new <select name='type' onchange='submit();' ><option value='#'>Select Topic Type...</option><option value='TeamExercise'>Team Exercise</option><option value='DiscussionTopic'>Discussion Topic</option></select> for this team. </form> 

---++ Team Images
%IFDEFINEDTHEN{"$percntATTACHMENTS{\"%SOURCE%\" format=\"$name\" separator=\", \" hidenull=\"on\"}$percnt" glue="off"}%
%IMAGEGALLERY$nop{topic="%SOURCE%"}%
%FIDEFINED%

<a href='%SCRIPTURL{attach}%/%BASEWEB%/%BASETOPIC%' >%ICON{hand}% Add new image</a>

%STOPINCLUDE%

Topic permissions:

r4 - 03 Aug 2009 - 19:37:51 - LynnwoodBrown
WikiRing: Professional Wiki Innovation and SupportWikiRing.com
This site is powered by Foswiki
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding IntroEngineering.org Wiki? Send feedback
Syndicate this site RSSATOM