Difference between revisions of "Template talk:LS synth"
From PSU Cyril Wiki
m (Template talk:LS synth test moved to Template talk:LS synth) |
m (→Defaults) |
||
Line 1: | Line 1: | ||
== Defaults == | == Defaults == | ||
− | * Hot damn, this is looking pretty good. However, I'd make a suggestion; Set a default value for the Photon field of ???-photon; This can be done by changing: <pre>[[{{{Photon}}}]]</pre> into: <pre>[[{{{Photon|???- | + | * Hot damn, this is looking pretty good. However, I'd make a suggestion; Set a default value for the Photon field of ???-photon; This can be done by changing: <pre>[[{{{Photon}}}]]</pre> into: <pre>[[{{{Photon|???-photon}}}]]</pre><br>This, incidentally, is how you add a default value to any template's parameter. This way, if the template is invoked with no Photon parameter, [[???-photon]] will be inserted automatically. If it's a single-element line shield though, you can specify, say, <pre>Photon=Megi-photon</pre> and the table will read [[Megi-photon]] in that field.<br>Just a thought. - [[User:DaWrecka|DaWrecka]] 14:19, 15 April 2008 (CDT) |
** Added. Thanks for the suggestion! - [[User:EspioKaos|EspioKaos]] 14:41, 15 April 2008 (CDT) | ** Added. Thanks for the suggestion! - [[User:EspioKaos|EspioKaos]] 14:41, 15 April 2008 (CDT) |
Revision as of 05:29, 19 June 2008
Defaults
- Hot damn, this is looking pretty good. However, I'd make a suggestion; Set a default value for the Photon field of ???-photon; This can be done by changing:
[[{{{Photon}}}]]
into:[[{{{Photon|???-photon}}}]]
This, incidentally, is how you add a default value to any template's parameter. This way, if the template is invoked with no Photon parameter, ???-photon will be inserted automatically. If it's a single-element line shield though, you can specify, say,Photon=Megi-photon
and the table will read Megi-photon in that field.
Just a thought. - DaWrecka 14:19, 15 April 2008 (CDT)- Added. Thanks for the suggestion! - EspioKaos 14:41, 15 April 2008 (CDT)