Template:CiteCGoLMC: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#if:{{{nobullet|}}}||*}}Nathaniel Johnston, Dave Greene. ''[https://conwaylife.com/book/ Conway's Game of Life: Mathematics and Construction]'' (2022).{{#if:{{{section|}}}| {{{section|}}}|}}{{#if:{{{page|}}}|{{#if:{{{section|}}}|,|}} pp. {{{page|}}}.|.}}{{#switch:{{NAMESPACENUMBER}}|0|102=Category:Pages_that_cite_CGoLMC}}</includeonly><noinclude>This is a template for citing Conway's Game of Life: Mathematics and Construction..."
 
Confocal (talk | contribs)
Remove nobullet parameter -- no need to add it to new templates. It is a backward compatibility workaround for existing templates with large number of transclusions.
Line 1: Line 1:
<includeonly>{{#if:{{{nobullet|}}}||*}}[[Nathaniel Johnston]], [[Dave Greene]]. ''[https://conwaylife.com/book/ Conway's Game of Life: Mathematics and Construction]'' (2022).{{#if:{{{section|}}}|&nbsp;{{{section|}}}|}}{{#if:{{{page|}}}|{{#if:{{{section|}}}|,|}}&nbsp;pp.&nbsp;{{{page|}}}.|.}}{{#switch:{{NAMESPACENUMBER}}|0|102=[[Category:Pages_that_cite_CGoLMC]]}}</includeonly><noinclude>This is a template for citing [[Conway's Game of Life: Mathematics and Construction]], a [https://conwaylife.com/book/ textbook] written by Nathaniel Johnston and Dave Greene. It accepts three parameters: '''section''', '''page''' and '''nobullet'''.  
<includeonly>[[Nathaniel Johnston]], [[Dave Greene]]. ''[https://conwaylife.com/book/ Conway's Game of Life: Mathematics and Construction]'' (2022).{{#if:{{{section|}}}|&nbsp;{{{section|}}}|}}{{#if:{{{page|}}}|{{#if:{{{section|}}}|,|}}&nbsp;pp.&nbsp;{{{page|}}}.|.}}{{#switch:{{NAMESPACENUMBER}}|0|102=[[Category:Pages that cite CGoLMC]]}}</includeonly><noinclude>This is a template for citing [[Conway's Game of Life: Mathematics and Construction]], a [https://conwaylife.com/book/ textbook] written by Nathaniel Johnston and Dave Greene. It accepts two parameters: '''section''' and '''page'''.  


'''You type:'''
'''You type:'''
<tt><nowiki>{{citeCGoLMC|section=Section 1.1}}</nowiki></tt>
 
<tt><nowiki>* {{citeCGoLMC|section=Section 1.1}}</nowiki></tt>


'''You see:'''
'''You see:'''
{{citeCGoLMC|section=Section 1.1}}
* {{citeCGoLMC|section=Section 1.1}}


'''You type:'''
'''You type:'''
<tt><nowiki>{{citeCGoLMC|section=Section 1.1|page=5}}</nowiki></tt>
 
<tt><nowiki>* {{citeCGoLMC|section=Section 1.1|page=5}}</nowiki></tt>


'''You see:'''
'''You see:'''
{{citeCGoLMC|section=Section 1.1|page=5}}
* {{citeCGoLMC|section=Section 1.1|page=5}}


'''You type:'''
'''You type:'''
<tt><nowiki>{{citeCGoLMC|section=Appendix B.1|page=437-440}}</nowiki></tt>
 
<tt><nowiki>* {{citeCGoLMC|section=Appendix B.1|page=437-440}}</nowiki></tt>


'''You see:'''
'''You see:'''
{{citeCGoLMC|section=Appendix B.1|page=437-440}}
* {{citeCGoLMC|section=Appendix B.1|page=437-440}}


'''You type:'''
'''You type:'''
<tt><nowiki>{{citeCGoLMC|page=36}}</nowiki></tt>
 
<tt><nowiki>* {{citeCGoLMC|page=36}}</nowiki></tt>


'''You see:'''
'''You see:'''
{{citeCGoLMC|page=36}}
* {{citeCGoLMC|page=36}}


'''You type:'''
'''You type:'''
<tt><nowiki>There exist Gardens of Eden in Conway’s Game of Life.<ref>{{citeCGoLMC|section=Section 1.7|page=21-22|nobullet=nobullet}}</ref></nowiki></tt>
 
<tt><nowiki>There exist Gardens of Eden in Conway’s Game of Life.<ref>{{citeCGoLMC|section=Section 1.7|page=21-22}}</ref></nowiki></tt>


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


== References ==
== References ==

Revision as of 04:44, 22 December 2022

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.

You type:

* {{citeCGoLMC|section=Section 1.1}}

You see:

You type:

* {{citeCGoLMC|section=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=Section 1.7|page=21-22}}</ref>

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

References