Template:Templates linking contents: Difference between revisions
Template page
More actions
m rm non-existant, probably deleted templates |
both shouldn't be used |
||
| Line 6: | Line 6: | ||
* {{lts|Main}} - "Main gallery" link from gallery or category to 1-N main galleries | * {{lts|Main}} - "Main gallery" link from gallery or category to 1-N main galleries | ||
* {{lts|Maincat}} - "Main category" link from gallery or category to 1-N main categories | * {{lts|Maincat}} - "Main category" link from gallery or category to 1-N main categories | ||
; Downwards links | ; Downwards links | ||
| Line 18: | Line 17: | ||
; Interproject links | ; Interproject links | ||
* {{lts|Mainw}} - "Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links) | * {{lts|Mainw}} - "Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links) | ||
<noinclude> | <noinclude> | ||
----- | ----- | ||
Revision as of 19:58, 30 May 2010
Templates linking contents
"1-N" means from one to many.
- Upwards links
- - "Main gallery" link from gallery or category to 1-N main galleries
- - "Main category" link from gallery or category to 1-N main categories
- Downwards links
- - "Further information" link to 1-N detailed galleries or categories
- - (box) magnifier-icon "See gallery" to 1 expanded sub-gallery
- Sideways links
- - "See also Categories" link from gallery or category to 1-N related categories
- - (box) internationalized "See also" to 1 related gallery or category
- Interproject links
- - "Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links)
Usage
- What
{{Templates linking contents}}- Where
- Appended to the documentation of each template listed above.
- Why
- Common list summarizing and comparing the main templates available for user-oriented links between contents in galleries, categories, images, and sister projects. Excluded are disambiguation and redirection templates such as For2, and meta-templates such as lts, etc.
- Notes
- The template embeds its own heading so that section-editing edits the transcluded instead of the transcluder.