Difference between revisions of "Help:Group Parts Table"
m (Double quote was missing) |
(Correctly escaped the groupparts string) |
||
Line 3: | Line 3: | ||
group. It works on the Registry Wiki, the UNG wiki, and the iGEM 2010 and later wikis. | group. It works on the Registry Wiki, the UNG wiki, and the iGEM 2010 and later wikis. | ||
− | To use it insert the tag | + | To use it insert the tag "<groupparts>igem2009 MIT</groupparts>" into your |
wiki markup. You will get a table like this: | wiki markup. You will get a table like this: | ||
− | + | <groupparts>igem2009 MIT</groupparts> | |
[[Image:Groupparts_example.png]] | [[Image:Groupparts_example.png]] | ||
Revision as of 13:24, 17 October 2016
The iGEM wikis support (soon 4-2010) a new tag that inserts a table of parts for a group. It works on the Registry Wiki, the UNG wiki, and the iGEM 2010 and later wikis.
To use it insert the tag "<groupparts>igem2009 MIT</groupparts>" into your wiki markup. You will get a table like this:
This table is sortable by column. As the page designer, you can also style this table as shown below.
Definition of <groupparts>
Group Types
The category for the group name. Note that two different iGEM teams may have the same name because they happened in different years. The group_type fixes this problem.
- iGEM year - e.g iGEM2009 or iGEM09
- laboratories - labs
- courses - course2009
- other
Options
Normally, the grouppart tag inserts a table containing all of the team's favorite and sandbox types, except those that have been deleted. This behavior can be changed by adding a string of options. If no options are desired, omit the string. If more than one option is desired, include all of them inside quotes, separated by spaces.
- Favorites - return a table containing only the groups favorite parts
- Sandbox - return a table containing only the sandbox parts
- Deleted - return a table containing only the deleted parts
Changing Table Styles
The elements of the table are set up with classes so that the user can change the style of the table somewhat.