Difference between revisions of "Template:SubTest/1"
From Maths
(Saving start) |
m |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
+ | ==Notes== | ||
+ | Do I want it so you list your substitutions in page, like: | ||
+ | <pre> | ||
+ | {{SubTest/1/Helper|a|b|X={{{X|}}}|Y={{{Y|}}}}} | ||
+ | {{SubTest/1/Helper|x|y|X={{{X|}}}|Y={{{Y|}}}}} | ||
+ | {{SubTest/1/Helper|Alex|Alec|X={{{X|}}}|Y={{{Y|}}}}} | ||
+ | </pre> | ||
+ | |||
+ | Or do I want it so substitutions are subpages. This can harness exists - yes I prefer that! (Perhaps a mix of both, incase something isn't allowed in a page title) | ||
==Templates & pages== | ==Templates & pages== | ||
* [[Template:SubTest/1/Helper]] - used to make defining substitutions quick and easy | * [[Template:SubTest/1/Helper]] - used to make defining substitutions quick and easy |
Latest revision as of 23:14, 19 October 2017
Contents
Notes
Do I want it so you list your substitutions in page, like:
{{SubTest/1/Helper|a|b|X={{{X|}}}|Y={{{Y|}}}}} {{SubTest/1/Helper|x|y|X={{{X|}}}|Y={{{Y|}}}}} {{SubTest/1/Helper|Alex|Alec|X={{{X|}}}|Y={{{Y|}}}}}
Or do I want it so substitutions are subpages. This can harness exists - yes I prefer that! (Perhaps a mix of both, incase something isn't allowed in a page title)
Templates & pages
- Template:SubTest/1/Helper - used to make defining substitutions quick and easy
- Template:SubTest/1/Table - shows a table of substitutions
- Template:SubTest/1/Subs - Substitution template itself. This is what is used, eg {{subs|a}}
Steps
- Perhaps a helper template ( Template:SubTest/1/Helper ) can be used as such: {{helper|...|render=<noinclude>table_row</noinclude>
- to show it in a table - under certain circumstances, or pass on a render parameter.
Preview
- {{SubTest/1/Subs|a}} Template:SubTest/1/Subs