LDSTechForumProjects

Template talk:Help Needed

Why not use Box template?

It seems strange that this template duplicates the {{Box}} template. The Box template was designed as a general-purpose template that other templates could be built on. Usually a specific template would simply include the Box template, rather than duplicating it. We generally would not want a lot of flexibility to be used in specific templates, so that a particular template such as "Help Needed" would always appear in the same color and position. If we need a bit more flexibility, we could choose to add a parameter or two to the Help Heeded template, and just pass those parameters through to the Box template.

That way the Help Needed template could simply be something like:

{{Box
| width=33%
| title=Help Needed
| color=yellow
| content={{{content}}}
}}
<includeonly>{{{category|[[Category:Help Needed]]}}}</includeonly><noinclude>
... documentation ...
[[Category:Templates|Help Needed]]</noinclude>

The documentation would be simpler, the usage would be consistent, and it would be a more object-oriented approach. -- Aebrown 21:36, 27 March 2009 (UTC)

This page was last modified on 27 March 2009, at 14:36.

Note: Content found in this wiki may not always reflect official Church information. See Terms of Use.