Template:Antibody/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
<!----> | <!----> | ||
== Purpose == | == Purpose == | ||
This template should be added to the main page of all antibodies documented on this wiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the antibody to [[:Category:All antibodies]] | This template should be added to the main page of all antibodies documented on this wiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the antibody to [[:Category:All antibodies]]. | ||
== Usage == | == Usage == | ||
Line 74: | Line 74: | ||
* ''[[:Category:Antibodies with unknown status|unknown]]'' (default) | * ''[[:Category:Antibodies with unknown status|unknown]]'' (default) | ||
If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead. In cases where the value is omitted, it will be categorised as [[:category:antibodies with unknown status|unknown]]. In cases where the value is invalid, it will be placed in a [[:category:antibodies with invalid status|special category]] so that the error can be caught and fixed. | If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead. In cases where the value is omitted, it will be categorised as [[:category:antibodies with unknown status|unknown]]. In cases where the value is invalid, it will be placed in a [[:category:antibodies with invalid status|special category]] so that the error can be caught and fixed. | ||
|- | |- | ||
| <span id="description">'''description'''</span>|| '''short description''' | | <span id="description">'''description'''</span>|| '''short description''' | ||
Line 150: | Line 142: | ||
In general: | In general: | ||
* To make this template easy to use, each label in the infobox is linked to documentation on the template parameter(s) it displays. If you add a parameter, please be sure to also add it to the [[Template:Antibody/Doc#Content parameters|content parameter documentation]] and link its label to that documentation. | * To make this template easy to use, each label in the infobox is linked to documentation on the template parameter(s) it displays. If you add a parameter, please be sure to also add it to the [[Template:Antibody/Doc#Content parameters|content parameter documentation]] and link its label to that documentation. | ||
== Test case == | == Test case == |
Revision as of 05:09, 19 June 2009
This is a documentation subpage for Template:Antibody (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Template:Antibody (talk, backlinks, edit)
Purpose
This template should be added to the main page of all antibodies documented on this wiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the antibody to Category:All antibodies.
Usage
Cut and paste: {{Antibody|templatemode = |name = |type = |description = |target = |species = |against = |xreactive = |nonxreactive = |westernblot = |ip = |icc = |ihc-paraffin = |ihc-cryo = }}} For help with parameter values, see below. |
|
Content parameters
This section describes parameters that govern infobox content. For help with templatemode and other control parameters, please see Control parameters.
Control parameters
Using the infoboxExisting antibody pagesIf you want to add the infobox to an existing page, copy and paste the code at the top of this page. Create a new antibody articleIf you want to create a new antibody page, enter the name below and click the button. A new page will be created with the infobox template already in place.
Enhancing this templateIf you would like to improve on this template, thanks! This is a complicated template so here is some help along the way: Fixing documentationIf you would like to fix documentation, please be aware that documentation and code is split into two files:
The Create antibody buttonTo improve the create antibody button behavior:
Infobox parametersIn general:
Test caseSee if the following pages are still ok, after edited this template. |