Template:Newtemplatetext: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <center><div id="lf-preload" style="display: none;"><div id="glow" style="text-align:center;"><span style="font-size:200%; line-height:150%;font-family:'Georgia', 'Times New Roman', serif;color:#2f2cb8;">''You're about to create a new template.''</span><span style="font-size:100%;font-family:'Georgia', 'Times New Roman', serif;"><br>It may be helpful to start with a coding base provided by another template. Familiarise yourself with '''[[:category:templates|the templates we already have]]''' first, then enter the name of ''any'' template in the box below to call it up:<br><br><span id="lf-preload-cbox" style="display:none;"></span><span id="lf-preload-pagename"></span> <span id="lf-preload-button"></span><br><br>Before you create your template, '''please consider carefully whether we need it'''. Templates that vary only in minor ways from each other — in particular, ''infoboxen'' — can often be better handled by taking an existing infobox and adding '''[[Help:Magic words#Conditional function|variables that show up only when defined]]'''. <br><br> That said, we '''do encourage you to experiment with coding'''. Just make sure that you put your experiments in '''[[:category:template sandbox]]'''. When you think you've developed something that's good enough to go into use on the wiki, consider starting a discussion in '''[[Forum:Panopticon|the Panopticon]]''' ''before'' putting it on a lot of pages.</span></div> | | <center><div id="lf-preload" style="display: none;"><div id="glow" style="text-align:center;"><span style="font-size:200%; line-height:150%;font-family:'Georgia', 'Times New Roman', serif;color:#012C57;">''You're about to create a new template.''</span><span style="font-size:100%;font-family:'Georgia', 'Times New Roman', serif;"><br />It may be helpful to start with a coding base provided by another template. Familiarise yourself with '''[[:category:templates|the templates we already have]]''' first, then enter the name of ''any'' template in the box below to call it up:<br /><br /><span id="lf-preload-cbox" style="display:none;"></span><span id="lf-preload-pagename"></span> <span id="lf-preload-button"></span><br /><br />Before you create your template, '''please consider carefully whether we need it'''. Templates that vary only in minor ways from each other — in particular, ''infoboxen'' — can often be better handled by taking an existing infobox and adding '''[[Help:Magic words#Conditional function|variables that show up only when defined]]'''. <br /><br /> That said, we '''do encourage you to experiment with coding'''. Just make sure that you put your experiments in '''[[:category:template sandbox]]'''. When you think you've developed something that's good enough to go into use on the wiki, consider starting a discussion in '''[[Board:The Panopticon|the Panopticon]]''' ''before'' putting it on a lot of pages.</span></div> |
| <noinclude> | | <noinclude> |
| [[category:newpage message templates|template]]{{lock}}</noinclude> | | [[Category:newpage message templates|template]]{{lock}}</noinclude> |
Latest revision as of 01:46, 10 March 2013
You're about to create a new template.
It may be helpful to start with a coding base provided by another template. Familiarise yourself with the templates we already have first, then enter the name of any template in the box below to call it up:
Before you create your template, please consider carefully whether we need it. Templates that vary only in minor ways from each other — in particular, infoboxen — can often be better handled by taking an existing infobox and adding variables that show up only when defined.
That said, we do encourage you to experiment with coding. Just make sure that you put your experiments in category:template sandbox. When you think you've developed something that's good enough to go into use on the wiki, consider starting a discussion in the Panopticon before putting it on a lot of pages.