Wikia

Memory Alpha

Template naming policy

Forum page

Revision as of 04:34, April 25, 2012 by Archduk3 (Talk | contribs)

39,839pages on
this wiki
Forum icon  ForumsTen Forward → Template naming policy (replywatch)

Any quick glance at our templates will show that there isn't much internal consistency with how they are named. Some have all the words capitalized, some don't use any caps, some only cap words that should be, and the use of spaces between words is all over the place.

For awhile now, the trend has been moving towards a more "natural" template naming style, where the template is named as if it were a normal page (with spaces and the normal use of caps), as opposed to the earlier styles of no spaces and all words starting with a capital, or all lowercase. I'm purposing we actually write this trend down, as I think this makes using them much easier since you aren't trying to remember what runes we decided to use in each instance, and update the old templates to this style. At the same time, I think we should also stress simple names over more complex and/or specific ones where there isn't a need for it.

A few of the templates have already been moved to this style over the last few months, and I don't think we necessarily need to abandon the old styles as redirects for the more commonly used ones either, as making several bot runs, or updating them all by hand, will take some time to say the least.

As part of this, if there are any templates, or "block" of related templates, that people think should be completely renamed, or if you think we shouldn't "officially" move to this style, now would be a good time to bring it up. - Archduk3 18:51, April 15, 2012 (UTC)

I'm wondering if the "edithint" template names can be simplified so that not as much needs to be typed. It doesn't really bother me a lot, but since suggestions were requested.... :) I'd also wonder if the None Selected template could be renamed to something which seems a little more intuitive. Again, doesn't bother me a great deal but it might be nice to change. I might have more suggestions as I take time to consider them. 31dot 19:39, April 15, 2012 (UTC)

"Edithint" was the "pna" for those templates, and shorter versions of them have been brought up before, so I'm still game for that. I think none selected is named that way because it's what would be added if we had the template select on uploads working...or something. It might be worth looking at that again while considering a different name, though I'm not sure what you might have had in mind for that. - Archduk3 20:52, April 15, 2012 (UTC)

"None Selected" is a required name for that one, as the name is built into the Mediawiki software and cannot be changed. -- sulfur 21:16, April 15, 2012 (UTC)
Well, there goes that idea. :) 31dot 21:29, April 15, 2012 (UTC)
Your "eh" (in caps or not) idea from the page you linked to would be an improvement, I think. 31dot 21:31, April 15, 2012 (UTC)

We could also keep the templates with the full "edit hint" name (adding a space as mentioned above or even keeping them without a space), but use redirects with a shorter name, for example "Edithint-vandalism" would have the redirect "vandalism", like some of the pna templates have redirects that drop the pna part. - Archduk3 04:34, April 25, 2012 (UTC)

Around Wikia's network

Random Wiki
http://memory-alpha.wikia.com/wiki/Forum:Template_naming_policy?oldid=1388448
memory-alpha.wikia.com
crawl=CC-MAIN-2016-07
98909
application/http; msgtype=response
sha1:M5OY435N4QJGWOSZH5QW4MQS6PWLMYXK
<urn:uuid:f2d189f9-95ea-42dc-87b3-9731b1424c75>
2016-02-10T04:43:36Z
104.156.85.194
sha1:GK3NS5IWP6V77Z5ZR7KPCG3YJI2DWQ2Q
<urn:uuid:811f9f2b-5d5b-446d-9899-a7a144249215>
http://memory-alpha.wikia.com/wiki/Forum:Template_naming_policy?oldid=1388448
response
<urn:uuid:686db665-c80f-4446-acf4-097c5f960518>
robots: classic
hostname: ip-10-236-182-209.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-07
operator: CommonCrawl Admin
description: Wide crawl of the web for February 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf