LifeWiki:Template list: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
added info about character escape templates
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
[https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Infoboxes Infoboxes] are shown in the top right of many articles to provide information in a concise and consistent form.
[https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Infoboxes Infoboxes] are shown in the top right of many articles to provide information in a concise and consistent form.


===Patterns===
=== Patterns ===
*[[Template:Agar]] - used at the top of pages describing [[agar]]s
* [[Template:Agar]] - used at the top of pages describing [[agar]]s
*[[Template:Conduit]] - used at the top of pages describing [[conduit]]s
* [[Template:Conduit]] - used at the top of pages describing [[conduit]]s
*[[Template:Crawler]] - used at the top of pages describing [[crawler]]s
* [[Template:Crawler]] - used at the top of pages describing [[crawler]]s
*[[Template:Fuse]] - used at the top of pages describing [[fuse]]s
* [[Template:Fuse]] - used at the top of pages describing [[fuse]]s
*[[Template:GrowingSpaceship]] - used at the top of pages describing [[growing spaceship]]s
* [[Template:GrowingSpaceship]] - used at the top of pages describing [[growing spaceship]]s
*[[Template:Gun]] - used at the top of pages describing [[gun]]s
* [[Template:Gun]] - used at the top of pages describing [[gun]]s
*[[Template:InductionCoil]] - used at the top of pages describing [[induction coil]]s
* [[Template:Methuselah]] - used at the top of pages describing [[methuselah]]s
*[[Template:Methuselah]] - used at the top of pages describing [[methuselah]]s
* [[Template:MovingBreeder]] - used at the top of pages describing moving [[breeder]]s
*[[Template:MovingBreeder]] - used at the top of pages describing moving [[breeder]]s
* [[Template:Oscillator]] - used at the top of pages describing [[oscillator]]s
*[[Template:Oscillator]] - used at the top of pages describing [[oscillator]]s
* [[Template:Pattern]] - used at the top of pages describing miscellaneous patterns
*[[Template:Pattern]] - used at the top of pages describing miscellaneous patterns
* [[Template:Puffer]] - used at the top of pages describing [[puffer]]s
*[[Template:Puffer]] - used at the top of pages describing [[puffer]]s
* [[Template:Reflector]] - used at the top of pages describing [[reflector]]s
*[[Template:Reflector]] - used at the top of pages describing [[reflector]]s
* [[Template:Rotor]] - used at the top of pages describing [[rotor]]s
*[[Template:Rotor]] - used at the top of pages describing [[rotor]]s
* [[Template:Sawtooth]] - used at the top of pages describing [[sawtooth]]s
*[[Template:Sawtooth]] - used at the top of pages describing [[sawtooth]]s
* [[Template:Spaceship]] - used at the top of pages describing [[spaceship]]s
*[[Template:Spaceship]] - used at the top of pages describing [[spaceship]]s
* [[Template:StillLifeComponent]] - used at the top of pages describing [[still life component]]s
*[[Template:Stilllife]] - used at the top of pages describing [[still life]]s
* [[Template:Stilllife]] - used at the top of pages describing [[still life]]s
*[[Template:UnitCell]] - used at the top of pages describing [[unit cell]]s
* [[Template:UnitCell]] - used at the top of pages describing [[unit cell]]s
*[[Template:Wave]] - used at the top of pages describing [[wave]]s
* [[Template:Wave]] - used at the top of pages describing [[wave]]s
*[[Template:Wick]] - used at the top of pages describing [[wick]]s
* [[Template:Wick]] - used at the top of pages describing [[wick]]s
*[[Template:Wickstretcher]] - used at the top of pages describing [[wickstretcher]]s
* [[Template:Wickstretcher]] - used at the top of pages describing [[wickstretcher]]s


===Other topics===
===Other topics===
Line 40: Line 40:


*[[Template:AgarNavbox]] - used at the top of [[:Category:Agars]]
*[[Template:AgarNavbox]] - used at the top of [[:Category:Agars]]
*[[Template:CatagolueNavbox]] - used at the bottom of pages pertaining to [[Catagolue]]
*[[Template:ConduitNavbox]] - used at the top of [[:Category:Conduits]]
*[[Template:ConduitNavbox]] - used at the top of [[:Category:Conduits]]
*[[Template:ContributeNavbox]] - used at the bottom of these editor pages
*[[Template:ContributeNavbox]] - used at the bottom of these editor pages
*[[Template:GardenofEdenNavbox]] - used at the top of [[:Category:Gardens of Eden]]
*[[Template:GollyNavbox]] - used at the bottom of pages pertaining to [[Golly]]
*[[Template:GunNavbox]] - used at the top of [[:Category:Guns]]
*[[Template:GunNavbox]] - used at the top of [[:Category:Guns]]
*[[Template:InductionCoilNavbox]] - used at the top of [[:Category:Induction coils]]
*[[Template:StillLifeComponentNavbox]] - used at the top of [[:Category:Still life components]]
*[[Template:InfiniteGrowthNavbox]] - used at the top of [[:Category:Infinite growth]]
*[[Template:InfiniteGrowthNavbox]] - used at the top of [[:Category:Infinite growth]]
*[[Template:MethuselahNavbox]] - used at the top of [[:Category:Methuselahs]]
*[[Template:MethuselahNavbox]] - used at the top of [[:Category:Methuselahs]]
Line 55: Line 56:
*[[Template:SparkerNavbox]] - used at the top of [[:Category:Sparkers]]
*[[Template:SparkerNavbox]] - used at the top of [[:Category:Sparkers]]
*[[Template:StilllifeNavbox]] - used at the top of [[:Category:Still lifes]]
*[[Template:StilllifeNavbox]] - used at the top of [[:Category:Still lifes]]
*[[Template:Tutorial]] - used at the bottom of [[tutorials]]; also adds a category
*[[Template:UnitcellNavbox]] - used at the top of [[:Category:Unit cells]]
*[[Template:UnitcellNavbox]] - used at the top of [[:Category:Unit cells]]
*[[Template:Vessel]] - used at the bottom of pages about [[barge]], [[boat]], and [[ship]] extensions
*[[Template:Vessel]] - used at the bottom of pages about [[barge]], [[boat]], and [[ship]] extensions
Line 62: Line 64:


===Internal links===
===Internal links===
*[[Template:Alsosee]] - used at the top of a section to link to an article on a related subject
*[[Template:Cells]] - creates a link to a category for patterns with a certain number of cells
*[[Template:Cells]] - creates a link to a category for patterns with a certain number of cells
*[[Template:Disambiglink]] - used at the top of a page to link to the disambiguation page with a certain name
*[[Template:For]] - used at the top of a page to link to other articles with similar titles
*[[Template:Gliders]] - creates a link to a category for patterns constructible with a certain number of gliders
*[[Template:Gliders]] - creates a link to a category for patterns constructible with a certain number of gliders
*[[Template:Main]] - used at the top of a section to link to an article which contains more detailed information on the same subject
*[[Template:PatternsFoundBy]] - lists all of the patterns with LifeWiki articles found by a certain person
*[[Template:PatternsFoundBy]] - lists all of the patterns with LifeWiki articles found by a certain person
*[[Template:Period]] - creates a link to a category for oscillators with a certain period
*[[Template:Period]] - creates a link to a category for oscillators with a certain period
Line 74: Line 72:
*[[Template:Tl]] - creates a link to another template
*[[Template:Tl]] - creates a link to another template
*[[Template:Year]] - creates a link to a category for patterns found in a certain year
*[[Template:Year]] - creates a link to a category for patterns found in a certain year
====Hatnotes====
*[[Template:About]] - used at the top of a page to link to other articles with the same title (or which are sometimes referred to with said title)
*[[Template:Alsosee]] - used at the top of a section to link to an article on a related subject
*[[Template:Disambiglink]] - used at the top of a page to link to the disambiguation page with a certain name
*[[Template:Distinguish]] - used at the top of a page to link to other articles with similar, but not the same, titles
*[[Template:For]] - used at the top of a page to link to other articles with similar titles (unlike "Template:About", does not clarify the subject of the current article in the first sentence)
*[[Template:Main]] - used at the top of a section to link to an article which contains more detailed information on the same subject


===External links===
===External links===
Line 114: Line 120:
*[[Template:Sparker]] - adds the page to various categories for specific types of [[sparker]]s
*[[Template:Sparker]] - adds the page to various categories for specific types of [[sparker]]s
*[[Template:Symmetry]] - adds the page to a category for patterns with a specific [[symmetry]]
*[[Template:Symmetry]] - adds the page to a category for patterns with a specific [[symmetry]]
*[[Template:Tutorial]] - adds the page to [[:Category:Tutorials]], with correct sort key
*[[Template:Tutorial]] - adds the page to [[:Category:Tutorials]], with correct sort key; also adds a navbox


===Image indexing===
===Image indexing===
Line 141: Line 147:
*[[Template:A019473]] - returns the number of strict still lifes with a certain number of cells
*[[Template:A019473]] - returns the number of strict still lifes with a certain number of cells
*[[Template:A056613]] - returns the number of pseudo still lifes with a certain number of cells
*[[Template:A056613]] - returns the number of pseudo still lifes with a certain number of cells
*[[Template:A330283]] - returns the number of quasi still lifes with a certain number of cells
*[[Catagolue/Stats]] - returns various statistics from [[Catagolue]]
*[[Catagolue/Stats]] - returns various statistics from [[Catagolue]]
*[[Template:CategoryTOC]] - adds an alphanumeric table of contents to a large category
*[[Template:CategoryTOC]] - adds an alphanumeric table of contents to a large category
Line 147: Line 154:
*[[Template:EmbedViewer]] - creates an interactive [[LifeViewer]] applet in an article
*[[Template:EmbedViewer]] - creates an interactive [[LifeViewer]] applet in an article
*[[Template:Iff]] - produces "{{iff}}" with title text explaining its meaning
*[[Template:Iff]] - produces "{{iff}}" with title text explaining its meaning
*[[Template:POTY]] - describes a pattern's showing in the [[Pattern of the Year]] and related competitions
*[[Template:Refn]] - adds a footnote at the respective position, separate from a citation
*[[Template:Refn]] - adds a footnote at the respective position, separate from a citation
*[[Template:Unsigned]] - marks unsigned comments on talk pages with the name of the person who wrote them
*[[Template:Unsigned]] - marks unsigned comments on talk pages with the name of the person who wrote them
===Character escape templates===
[[:Category:Character escape templates|Character escape templates]] substitute certain short strings of characters inside other templates to avoid misinterpretation.
*[[Template:!]] - <nowiki>|</nowiki>
*[[Template:!!]] - <nowiki>||</nowiki>
*[[Template:!!!]] - <nowiki>!</nowiki>
*[[Template:!!!!]] - <nowiki>{|</nowiki>
*[[Template:!!!!!]] - <nowiki>|}</nowiki>
*[[Template:(]] - <nowiki>{</nowiki>
*[[Template:)]] - <nowiki>}</nowiki>
*[[Template:=]] - <nowiki>=</nowiki>
*[[Template:Literal]] - <nowiki>{{{1}}}</nowiki>


==Also see==
==Also see==

Latest revision as of 04:08, 12 June 2022

Templates can be inserted into pages to easily produce frequently-required text or information boxes. This page catalogues some of the most useful and frequently-used templates on LifeWiki.

Infobox templates

Infoboxes are shown in the top right of many articles to provide information in a concise and consistent form.

Patterns

Other topics

Navboxes are shown on pages to provide links to various related topics.

Linking templates

  • Template:Cells - creates a link to a category for patterns with a certain number of cells
  • Template:Gliders - creates a link to a category for patterns constructible with a certain number of gliders
  • Template:PatternsFoundBy - lists all of the patterns with LifeWiki articles found by a certain person
  • Template:Period - creates a link to a category for oscillators with a certain period
  • Template:PeriodS - creates a link to a category for spaceships with a certain period
  • Template:Slcells - creates a link to a category for strict still lifes with a certain number of cells
  • Template:Tl - creates a link to another template
  • Template:Year - creates a link to a category for patterns found in a certain year

Hatnotes

  • Template:About - used at the top of a page to link to other articles with the same title (or which are sometimes referred to with said title)
  • Template:Alsosee - used at the top of a section to link to an article on a related subject
  • Template:Disambiglink - used at the top of a page to link to the disambiguation page with a certain name
  • Template:Distinguish - used at the top of a page to link to other articles with similar, but not the same, titles
  • Template:For - used at the top of a page to link to other articles with similar titles (unlike "Template:About", does not clarify the subject of the current article in the first sentence)
  • Template:Main - used at the top of a section to link to an article which contains more detailed information on the same subject

These templates are intended to be used inside the "External links" section of an article. However, some of them can also be used for citing the respective website with the format=ref parameter.

Citations

Categorization templates

These templates are used to more conveniently add pages to a specific category.

Image indexing

Maintenance templates

Miscellaneous templates

Character escape templates

Character escape templates substitute certain short strings of characters inside other templates to avoid misinterpretation.

Also see