Template:Interactive pathway maps/doc
< Template:Interactive pathway maps
Jump to navigation
Jump to search
Revision as of 20:09, 7 August 2010 by imported>AlexanderPico
| This is a documentation subpage for Template:Interactive pathway maps. It contains usage information, categories and other content that is not part of the original template page. |
This template is the product of a custom export process of WikiPathways content as interactive pathway maps for Wikipedia articles. Please do not edit these templates directly as they include calculated hyperlinks and annotations based on original content curated at WikiPathways. Please feel free to edit and update the pathway content at WikiPathways. Your changes will be reflected here when the template is regenerated.
Features
- Gene Wiki links - click on blue-underlined gene boxes in pathway to go to the corresponding Gene Wiki article
- Metabolite links - click on blue-underlined metabolite boxes in pathway to go to the corresponding metabolite article
- Start new pages - click on red-underlined boxes to start a new Wikipedia article where one currently does not exist
- Bold self links - the gene or metabolite focused on in the current article is displayed as a bold-bordered self link
- Pathway links - click anywhere in the background on the pathway to go to the corresponding pathway article with an expanded view of the interactive pathway map
- Variable-controlled cropping - pathway maps can be cropped by referencing a gene or metabolite, or by manually specifying crop variables (see Usage below).
Usage
This template is commonly transcluded into the following types of articles in the following ways:
1. Pathway articles
- Where you want to see the full pathway
{{TCACycle_WP78}}
2. Gene Wiki articles
- Where you want to crop the pathway view to center on a particular gene
{{TCACycle_WP78|highlight=Dihydrolipoyl_transacetylase}}
3. Metabolite articles
- Where you want to crop the pathway view to center on a particular metabolite
{{TCACycle_WP78|highlight=Fumaric_acid}}
4. Miscellaneous
- Where you override default variables and control the cropping yourself
{{TCACycle_WP78|cWidth=600|cHeight=300|oTop=325|oLeft=310}}
cWidth: the width of the crop windowcHeight: the heigth of the crop windowoTop: the offset of the crop window from the top (Note: set to at least 25px to crop out unsightly template syntax)oLeft: the offset of the crop window from the left (Note: set to at least 10px to crop out unsightly template syntax)
Examples
- Citric acid cycle pathway
- DLAT gene wiki article
- Where is this template used?