LifeWiki:Template list: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Maintenance templates: added notability
added info about character escape templates
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''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:About|LifeWiki]].
'''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:About|LifeWiki]].


==General templates==
==Infobox templates==
*[[Template:Disambiglink]] - produces text like "for other meanings of the term..." that links to a disambiguation page, to be placed at the top of pages with names that may have multiple meanings
[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.
*[[Template:Main]] - for indicating that the current section of the article is treated in more depth on another page


{{PatternTemplates|intro=true}}
=== Patterns ===
* [[Template:Agar]] - used at the top of pages describing [[agar]]s
* [[Template:Conduit]] - used at the top of pages describing [[conduit]]s
* [[Template:Crawler]] - used at the top of pages describing [[crawler]]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:Gun]] - used at the top of pages describing [[gun]]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:Oscillator]] - used at the top of pages describing [[oscillator]]s
* [[Template:Pattern]] - used at the top of pages describing miscellaneous patterns
* [[Template:Puffer]] - used at the top of pages describing [[puffer]]s
* [[Template:Reflector]] - used at the top of pages describing [[reflector]]s
* [[Template:Rotor]] - used at the top of pages describing [[rotor]]s
* [[Template:Sawtooth]] - used at the top of pages describing [[sawtooth]]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:UnitCell]] - used at the top of pages describing [[unit cell]]s
* [[Template:Wave]] - used at the top of pages describing [[wave]]s
* [[Template:Wick]] - used at the top of pages describing [[wick]]s
* [[Template:Wickstretcher]] - used at the top of pages describing [[wickstretcher]]s


==Other page templates==
===Other topics===
*[[Template:Book]] - to be placed at the top of pages describing a book or important article
*[[Template:Book]] - to be placed at the top of pages describing a book or important article related to cellular automata
*[[Template:Disambig]] - produces the leading text on disambiguation pages
*[[Template:Census]] - to be placed at the top of pages describing a [[census]]
*[[Template:LifeLine]] - to be placed at the top of pages containing a [[Lifeline]] volume
*[[Template:Person]] - to be placed at the top of pages describing a person
*[[Template:Person]] - to be placed at the top of pages describing a person
*[[Template:Rule]] - to be placed at the top of pages describing a [[Life-like cellular automaton]]
*[[Template:Rule]] - to be placed at the top of pages describing a [[cellular automaton]]
*[[Template:Software]] - to be placed at the top of pages describing cellular automata [[:Category:Software|software]]
*[[Template:Speed]] - to be placed at the top of pages describing technology involving objects with a certain [[speed]]
 
==Navbox templates==
[https://en.wikipedia.org/wiki/Wikipedia:Navigation_template Navboxes] are shown on pages to provide links to various related topics.
 
*[[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:ContributeNavbox]] - used at the bottom of these editor pages
*[[Template:GollyNavbox]] - used at the bottom of pages pertaining to [[Golly]]
*[[Template:GunNavbox]] - used at the top of [[:Category:Guns]]
*[[Template:StillLifeComponentNavbox]] - used at the top of [[:Category:Still life components]]
*[[Template:InfiniteGrowthNavbox]] - used at the top of [[:Category:Infinite growth]]
*[[Template:MethuselahNavbox]] - used at the top of [[:Category:Methuselahs]]
*[[Template:OscillatorNavbox]] - used at the top of [[:Category:Oscillators]]
*[[Template:PatternMainNavbox]] - used at the top of various categories
*[[Template:PatternNavbox]] - used at the top of [[:Category:Patterns]]
*[[Template:PufferNavbox]] - used at the top of [[:Category:Puffers]]
*[[Template:SawtoothNavbox]] - used at the top of [[:Category:Sawtooths]]
*[[Template:SpaceshipNavbox]] - used at the top of [[:Category:Spaceships]]
*[[Template:SparkerNavbox]] - used at the top of [[:Category:Sparkers]]
*[[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:Vessel]] - used at the bottom of pages about [[barge]], [[boat]], and [[ship]] extensions
*[[Template:WickNavbox]] - used at the top of [[:Category:Wicks]]
 
==Linking templates==
 
===Internal links===
*[[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
 
===External links===
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 <tt>format=ref</tt> parameter.
 
*[[Template:LinkCallahan]] - links to [[Paul Callahan]]'s [http://radicaleye.com/lifepage/lifepage.html Page of Conway's Life Miscellany]
*[[Template:LinkCatagolue]] - links to an object page on [[Adam P. Goucher]]'s [[Catagolue]]
*[[Template:LinkCatagolueRule]] - links to a census page on [[Adam P. Goucher]]'s [[Catagolue]]
*[[Template:LinkEppstein]] - links to an object page in [[David Eppstein]]'s [http://fano.ics.uci.edu/ca/ glider database]
*[[Template:LinkEppsteinRule]] - links to a rule page in [[David Eppstein]]'s [http://fano.ics.uci.edu/ca/ glider database]
*[[Template:LinkForumThread]] - links to a post on the [http://www.conwaylife.com/forums/ conwaylife.com forums]
*[[Template:LinkGollyHelp]] - links to the [[Golly]] [http://golly.sourceforge.net/Help/index.html help pages]
*[[Template:LinkLexicon]] - links to an entry in the [[Life Lexicon]]
*[[Template:LinkMathworld]] - links to [http://mathworld.wolfram.com/ Wolfram Mathworld]
*[[Template:LinkMirek]] - links to [[Mirek Wójtowicz]]'s [http://www.mirekw.com/ca/index.html Cellebration page]
*[[Template:LinkNiemiec]] - links to [[Mark Niemiec]]'s [http://conwaylife.com/ref/mniemiec/lifepage.htm Life Page]
*[[Template:LinkPentadecathlonObject]] - links to an object page on [[Heinrich Koenig]]'s [http://pentadecathlon.com/objects/objects.php Game of Life Object Catalogs] on [http://pentadecathlon.com/ pentadecathlon.com]
*[[Template:LinkWikipedia]] - links to a [https://en.wikipedia.org/wiki/Main_Page Wikipedia] page
*[[Template:MathGenealogy]] - links to a page on the [http://genealogy.math.ndsu.nodak.edu/ Mathematics Genealogy Project]
*[[Template:OEIS]] - links to a sequence on the [https://oeis.org/ Online Encyclopedia of Integer Sequences]
 
===Citations===
*[[Template:CiteAchim]] - cites [[Achim Flammenkamp]]'s [http://wwwhomes.uni-bielefeld.de/achim/freq_top_life.html list of naturally occurring objects]
*[[Template:CiteCatagolue]] - cites a [[Catagolue]] page
*[[Template:CiteCatagolueStats]] - cites the [https://catagolue.hatsya.com/statistics Statistics] page on [[Catagolue]]
*[[Template:CiteDiscord]] - cites the [https://discord.gg/BCuYCEn Conwaylife Lounge] Discord server
*[[Template:CiteHensel]] - cites [[Alan Hensel]]'s [http://www.ibiblio.org/lifepatterns/ pattern collections]
*[[Template:CiteHickersonOscillators]] - cites [[Dean Hickerson]]'s [http://radicaleye.com/DRH/stamps.html oscillator stamp collection]
*[[Template:CiteLexicon]] - cites an entry in the [[Life Lexicon]]
*[[Template:CiteLifeline]] - cites a volume of the [[Lifeline]] newsletter
*[[Template:CiteSummersPattern]] - cites [[Jason Summers]]' [http://entropymine.com/jason/life/ pattern collections]
*[[Template:Cite web]] - cites a miscellaneous website
 
==Categorization templates==
These templates are used to more conveniently add pages to a specific category.
 
*[[Template:Glossary]] - adds the page to [[:Category:Everything else]] and [[:Category:Glossary]]
*[[Template:Natural]] - adds the page to [[:Category:Natural periodic objects]]
*[[Template:Seminatural]] - adds the page to [[:Category:Semi-natural periodic objects]]
*[[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:Tutorial]] - adds the page to [[:Category:Tutorials]], with correct sort key; also adds a navbox


==Navigation boxes==
===Image indexing===
*[[Template:AgarNavbox]] - the navigation box used at the top of [[:Category:Agars]]
*[[Template:AnimatedImage]] - for animated pattern images, excluding those about specific cellular automata rules
*[[Template:ContributeNavbox]] - the navigation box used at the bottom of these editor pages
*[[Template:AnimatedRuleImage]] - for animated images that are the main image for a cellular automata rule
*[[Template:GardenofEdenNavbox]] - the navigation box used at the top of [[:Category:Gardens of Eden]]
*[[Template:PatternImage]] - for still images that are the main image for a [[LifeWiki:Pattern pages|pattern page]]
*[[Template:GunNavbox]] - the navigation box used at the top of [[:Category:Guns]]
*[[Template:RuleImage]] - for still images that are the main image for a cellular automata rule
*[[Template:MethuselahNavbox]] - the navigation box used at the top of [[:Category:Methuselahs]]
*[[Template:StaticImage]] - for still images that are not the main image for a [[LifeWiki:Pattern pages|pattern page]]
*[[Template:OscillatorNavbox]] - the navigation box used at the top of [[:Category:Oscillators]]
*[[Template:PatternNavbox]] - the navigation box used at the top of [[:Category:Patterns]]
*[[Template:PufferNavbox]] - the navigation box used at the top of [[:Category:Puffers]]
*[[Template:SawtoothNavbox]] - the navigation box used at the top of [[:Category:Sawtooths]]
*[[Template:SpaceshipNavbox]] - the navigation box used at the top of [[:Category:Spaceships]]
*[[Template:StilllifeNavbox]] - the navigation box used at the top of [[:Category:Still lifes]]
*[[Template:WickNavbox]] - the navigation box used at the top of [[:Category:Wicks]]


==Maintenance templates==
==Maintenance templates==
*[[Template:Ambox]] - generic notice template with customizable text, to be placed at the top of a page
*[[Template:Citation needed]] - to be placed next to a potentially dubious claim not supported by any citation (shortcut: <tt><nowiki>{{</nowiki>[[Template:Cn|cn]]<nowiki>}}</nowiki></tt>)
*[[Template:Copyedit]] - to be placed at the top of pages that may need to be copyedited
*[[Template:Delete]] - to be placed at the top of pages that should be [[LifeWiki:Deletion policy#Proposed_deletion|considered for deletion]] (shortcuts: <tt><nowiki>{{</nowiki>[[Template:Proposeddeletion|proposeddeletion]]<nowiki>}}</nowiki></tt>, <tt><nowiki>{{</nowiki>[[Template:Pd|pd]]<nowiki>}}</nowiki></tt>)
*[[Template:Merge]] - to be placed at the top of pages/sections that potentially should be merged into another article
*[[Template:Merge from]] - to be placed at the top of articles that potentially should have other articles/sections merged into them
*[[Template:Notability]] - to be placed at the top of pages that are potentially not [[LifeWiki:Notability|notable]]
*[[Template:Notability]] - to be placed at the top of pages that are potentially not [[LifeWiki:Notability|notable]]
*[[Template:Proposeddeletion]] - to be placed at the top of pages that should be [[LifeWiki:Deletion policy#Proposed_deletion|considered for deleted]]
*[[Template:Outdated]] - to be placed at the top of pages that contain outdated information which needs to be updated
*[[Template:Requestpatternfile]] - to be placed at the top of pages that need to have pattern files and/or images uploaded (usually automatically-inserted)  
*[[Template:Requestpatternfile]] - to be placed at the top of pages that need to have pattern files and/or images uploaded (usually automatically-inserted)  
*[[Template:Speedydeletion]] - to be placed at the top of pages that should be [[LifeWiki:Deletion policy#Speedy_deletion|speedily deleted]]
*[[Template:Requestsynthesisfile]] - to be placed at the top of pages that need to have synthesis files uploaded
*[[Template:Speedydeletion]] - to be placed at the top of pages that should be [[LifeWiki:Deletion policy#Speedy_deletion|speedily deleted]] (shortcut: <tt><nowiki>{{</nowiki>[[Template:Sd|sd]]<nowiki>}}</nowiki></tt>)
*[[Template:Stub]] - to be placed at the top of pages which are missing important information and should be expanded
*[[Template:Which]] - to be placed next to a statement that needs clarification
 
==Miscellaneous templates==
*[[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:A330283]] - returns the number of quasi still lifes with a certain number of cells
*[[Catagolue/Stats]] - returns various statistics from [[Catagolue]]
*[[Template:CategoryTOC]] - adds an alphanumeric table of contents to a large category
*[[Template:Cquote]] - creates a fancy-looking quotation
*[[Template:Disambig]] - produces the leading text on disambiguation pages
*[[Template:EmbedViewer]] - creates an interactive [[LifeViewer]] applet in an article
*[[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: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==
*[[:Category:Templates]]
**[[:Category:External link templates]]
**[[:Category:Infobox templates]]
*[{{fullurl:Special:AllPages|namespace=10}} Full list of templates]


{{ContributeNavbox}}
{{ContributeNavbox}}

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