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".


{{box|
{{templateexample}}
{{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. This means that the template text is all standard except for the bits you specify when you call the template.
{{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.It's like turtles all the way down.)


{{box|
{{templateexample3|germknödel}}
{{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''.  


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

Revision as of 13:12, 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. This means that the template text is all standard except for the bits you specify when you call the template.

Template:Templateexample2

And you can have templates inside templates (and templates inside templates inside templates.It's like turtles all the way down.)

Template:Templateexample3

And you can have templates with variables inside templates with variables.

Template:Templateexample4