Template:CiteCGoLMC

From LifeWiki
Revision as of 05:53, 22 December 2022 by Confocal (talk | contribs) (change link to wiki article to keep the old linking of templatified pages, simplify formatting, add test case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a template for citing Conway's Game of Life: Mathematics and Construction, a textbook written by Nathaniel Johnston and Dave Greene. It accepts two parameters: section and page.

Examples

You type:

* {{citeCGoLMC}}

You see:

You type:

* {{citeCGoLMC|section=1.1}}

You see:

You type:

* {{citeCGoLMC|section=1.1|page=5}}

You see:

You type:

* {{citeCGoLMC|section=Appendix B.1|page=437-440}}

You see:

You type:

* {{citeCGoLMC|page=36}}

You see:

You type:

There exist Gardens of Eden in Conway’s Game of Life.<ref>{{citeCGoLMC|section=1.7|page=21-22}}</ref>

You see: There exist Gardens of Eden in Conway’s Game of Life.[1]

References