Template tester: Difference between revisions

From The Jolly Contrarian
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
You can embed standardized bits of text in one page by calling from a "Template".
You can embed standardized bits of text in one page by calling from a "Template".


:{{templateexample}}
{{box|
{{templateexample}}
}}


This is useful, but not earth-shattering. However, you can have templates with variables in them
This is useful, but not earth-shattering. However, you can have templates with variables in them
 
{{box|
:{{templateexample2|ice cream}}
{{templateexample2|ice cream}}
}}


And you can have templates inside templates, and templates inside templates inside templates.
And you can have templates inside templates, and templates inside templates inside templates.


:{{templateexample3|germknödel}}
{{box|
{{templateexample3|germknödel}}
}}


And you can have templates with variables inside templates with variables. It's like turtles all the way down.
And you can have templates with variables inside templates with variables. It's like turtles all the way down.


:{{templateexample4|4|3|Apfelstrudel}}
{{box|
{{templateexample4|4|3|Apfelstrudel}}
}}

Revision as of 13:04, 17 April 2018

You can embed standardized bits of text in one page by calling from a "Template".

Template:Templateexample


This is useful, but not earth-shattering. However, you can have templates with variables in them

Template:Templateexample2


And you can have templates inside templates, and templates inside templates inside templates.

Template:Templateexample3


And you can have templates with variables inside templates with variables. It's like turtles all the way down.

Template:Templateexample4