Jump to content

Template talk:Guideline: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
RoryBot (talk | contribs)
BOT- bypassing cross-namespace redirect using AWB
This tag is for guides, not guidelines
Line 110: Line 110:


:The usage info on the template page itself should be better now, it lists the '''available categories''': The template is designed for precisely these subcategories, extending the list is possible, but would need some docu elsewhere. -- [[User:Omniplex|Omniplex]] 23:20, 24 March 2006 (UTC)
:The usage info on the template page itself should be better now, it lists the '''available categories''': The template is designed for precisely these subcategories, extending the list is possible, but would need some docu elsewhere. -- [[User:Omniplex|Omniplex]] 23:20, 24 March 2006 (UTC)

== This tag is for guides, not guidelines ==

Every page using this tag is a guide - like [[Wikipedia:Style guide|Wikipedia's style guides are]]. This is not a tag for official guidelines, and it shouldn't be constrewed as such. I changed the wording to "guide for" rather than "guideline". Please discuss. [[User:Fresheneesz|Fresheneesz]] 18:51, 8 September 2006 (UTC)

Revision as of 18:51, 8 September 2006

Documentation

{{Wikipedia subcat guideline|<guideline category>|<category sort key>[|<shortcut>]}}

"<shortcut>" parameter is optional.

Included in: Wikipedia:Template messages/Project namespace#Policies and guidelines

This template only works if the first parameter is as well the *exact* name of a wikipedia category and the *exact* name of a page in the "wikipedia:" namespace explaining that category, for example:

<guideline category>
parameter
Category name Project namespace page
content category:wikipedia content wikipedia:content
(currently redirects to: Wikipedia:Five pillars,
but might become a separate page)
deletion category:wikipedia deletion wikipedia:deletion
how-to category:wikipedia how-to wikipedia:how-to
naming conventions category:wikipedia naming conventions wikipedia:naming conventions
notability criteria category:wikipedia notability criteria wikipedia:notability criteria
(redirects to: Wikipedia:Notability)
proportion and emphasis[1] category:wikipedia proportion and emphasis wikipedia:proportion and emphasis
coherence[2] category:wikipedia coherence wikipedia:coherence
Notes
  1. ^ Proposed 11:36, 26 March 2006 (UTC); category:wikipedia proportion and emphasis is a subcategory of category:wikipedia content; wikipedia:proportion and emphasis is now a separate page, linking to the major policies and guidelines (and some essays) that cover the "proportion and emphasis" topic
  2. ^ Deprecated


Case
  • Type the <guideline category> entirely lower case, choosing the exact format and spelling as in the first column of the table above (e.g. "how-to" and not "HowTo" or any other variation); Don't add "category:" nor "wikipedia " nor "wikipedia:" for the first parameter.
  • Start the first word of <category sort key> without space after the pipe and start it always with an upper case, regardless of whether the corresponding guideline and/or wikipedia category have that word with an upper case.


Subst?

It is discouraged to use this template with the "subst:" prefix.


Guidelines on style

This template presently does not work for style guidelines:

So, for style guidelines, use template:Style-guideline instead!

See also

Discussion

Discussion regarding this template

End of October 2005 the Wikipedia subcat guideline template was listed on TfD; as a result of that a discussion place for this template was created at Wikipedia talk:Template messages/Project namespace#Templates for guidelines. Note that the Wikipedia subcat guideline template is part of (the functioning of) several Wikipedia guidelines.

--Francis Schonken 19:20, 7 November 2005 (UTC)[reply]

Sort key (prehistory)

Second parameter: it is not a good idea to force PAGENAME as default for the second parameter: most pagenames start with "Naming conventions (..." or "Notability criteria (...", not a good idea to sort on these PAGENAMEs in the respective categories.
The person adding the template should better see something is wrong if (s)he didn't type a <category sort key> (...which typically starts with what's between the brackets of such guideline pagename)

That was noted by Francis in the template info for some time. I kept his solution (no default for 2nd parameter), but I'm not sure how good it is. Omniplex 15:26, 24 March 2006 (UTC)[reply]

I've removed my old erroneous speculation keeping the real issue: -- Omniplex 23:07, 24 March 2006 (UTC)[reply]

Sort key

Just noticed that the optional footnote parameter is not displaying properly on pages employing it. The page simply displays {{{2}}} instead of the expected text (see, for example, Wikipedia:Footnotes, Wikipedia:Speedy keep). If I knew a little more about how the template works, or more accurately if I were a bit more bold in changing a major WP template, I'd take a stab at addressing the issue myself. As it is, however, I'm hoping someone else can fix this with my contribution limited to this simple note. BRossow T/C 14:55, 24 March 2006 (UTC)[reply]

It's certainly no optional footnote parameter, it's the sort key for the category. Visible is good, but just {{{2}}} is not goog enough. I'll try to generate a clearer error message. Omniplex 15:26, 24 March 2006 (UTC)[reply]
See why I didn't wanna mess with it? ;-) BRossow T/C 17:27, 24 March 2006 (UTC)[reply]
Yesss... <g> I added a warning to ifdef that KISS is sometimes not what's really needed. -- Omniplex 23:18, 24 March 2006 (UTC)[reply]
Attempted simple fix failed, and Francis doesn't like a default {{PAGENAME}} (that would work perfectly for your examples), other ideas? Omniplex 15:42, 24 March 2006 (UTC)[reply]

Code

I reverted to the last version I was sure was working, and typed this "edit summary" for the revert:

I suspect the "ifdef" isn't a good replacement for "qif", or a faulty implementation

--Francis Schonken 15:44, 24 March 2006 (UTC)[reply]

There's definitely something odd with ifdef, I've created a subpage for testing: Template:Wikipedia subcat guideline/(edit talk links history) (note added slash, its discuss shows the test output). Omniplex 16:43, 24 March 2006 (UTC)[reply]

Testing {{Wikipedia subcat guideline/|how-to|Template}} shows that this version doesn't work (no category added). --Francis Schonken 17:01, 24 March 2006 (UTC)[reply]

I had disabled the category for the test talk page you've seen, otherwise the talk page would pop up in the real category. Some related info on my talk page, wrt the shortcut layout see another proposal by mangojuice in Template:Proposed(edit talk links history). -- Omniplex 20:46, 24 March 2006 (UTC)[reply]
The usage info on the template page itself should be better now, it lists the available categories: The template is designed for precisely these subcategories, extending the list is possible, but would need some docu elsewhere. -- Omniplex 23:20, 24 March 2006 (UTC)[reply]

This tag is for guides, not guidelines

Every page using this tag is a guide - like Wikipedia's style guides are. This is not a tag for official guidelines, and it shouldn't be constrewed as such. I changed the wording to "guide for" rather than "guideline". Please discuss. Fresheneesz 18:51, 8 September 2006 (UTC)[reply]