Wikipedia talk:WikiProject Inline Templates

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Shortcuts:

Archives
Archive 1 Archive 2 Archive 3


Contents

[edit] New inline template for acronyms and abbreviations

When I'm copy-editing, I sometimes find acronyms and abbreviations that are not written in full (anywhere in the article) and are not in popular media (e.g. print media). Wikipedia's Manual of Style require the full version and its abbreviation written at first occurrence. I propose a new inline template: [full version needed]

A set of rules apply to the various locations of the college, such as the Dining Hall and JCR[full version needed] to ensure standards of dress and manners are upheld.

I haven't found an inline citation such as this. What are your thoughts? Thanks,  Davtra  (talk) 06:44, 22 August 2010 (UTC)

  • Agreed, this would be quite useful. --Waldir talk 11:53, 22 August 2010 (UTC)
  • I went ahead and created the template here.  Davtra  (talk) 02:42, 26 August 2010 (UTC)
  • why not change both the wording and the template name to "expand acronym" or something to that effect? I think it'd be clearer. --Waldir talk 21:24, 26 August 2010 (UTC)
  • What if it was an abbreviation, not an acronym? They are similar, however.  Davtra  (talk) 23:43, 26 August 2010 (UTC)
We can use whatever is more common, and add a parameter to change the wording. --Waldir talk 10:00, 27 August 2010 (UTC)
Sounds good. Should the template name be left as it is? I figure it's best to keep it as simple and memorable?  Davtra  (talk) 02:38, 28 August 2010 (UTC)
I still think it'll be more intuitive (and discoverable) if renamed, even if just to "expand" (though I'd still root for "expand acronym") --Waldir talk 10:39, 28 August 2010 (UTC)
Done. Would the next step be adding this template to lists? I'm new to editing templates, so I have no knowledge about the procedures and other background information. Thanks,  Davtra  (talk) 11:22, 28 August 2010 (UTC)
Add some documentation (for example, the parameter to change the text must be explicitly pointed out), categories, see also, etc. Use {{clarify}} as an example :) --Waldir talk 09:31, 29 August 2010 (UTC)

[edit] right word?

Hi everyone,

In a recent edit, I was not sure what word to use on a talk page comment.

It would be useful to have a {{right word?}} template for when an editor is not sure of what word to use, but is certain the word is not the right one.

If I was a less bold editor, I could have used it for these changes:

It could also be used to flag wrong usage of a word, especially:

--Kevinkor2 (talk) 20:28, 8 December 2010 (UTC)

Hi Kevinkor2. It's possible to create your own custom inline template by using Template:Fix. So in your case, all you would have needed to do is type {{Fix|text=right word?}} plus whatever optional parameters you want in order to customize it, and it would've looked like this: [right word?] -- œ 09:44, 14 February 2011 (UTC)

[edit] Template:Registration required/doc

Confusing instructions on the above page. Where do you actually place the tag? The instructions and the examples show different things, or else I am terribly confused (probably the latter). Sincerely, your friend, GeorgeLouis (talk) 11:45, 6 February 2011 (UTC)

The instructions seemed fine to me. The examples did show what the instructions were saying, but perhaps you misinterpreted the meaning, I've reworded it a bit to clarify: the tag is to be placed within the <ref> and </ref> tags and directly after the link, like so:
<ref>[http://pay-only-site.com Pay only site]{{Registration required}}</ref>
or, if using a citation template in your reference, it should be placed directly after the citation template, like so:
<ref>{{cite web|url=http://pay-only-site.com|title=Pay only site}}{{Registration required}}</ref>
Did that help? -- œ 09:33, 14 February 2011 (UTC)

[edit] dated maintenance for templates

Is there a template similar to {{As of}} or {{Update after}} that can be used for a template that contains information that will change, but will not pass through to the articles on which the template is transcluded? When dated information is inlcuded in an article via template, there is no indication to an editor working through a maintenance category that it is an included template that needs to be edited, and not something located on the page itself. There should be a logical way to find templates needing updates under Category:Wikipedia template cleanup rather than list hundreds of pages with transclusions in article cleanup categories. Jim Miller See me | Touch me 18:36, 9 February 2011 (UTC)

You could use the ordinary article templates, but enclose them in a <noinclude> tag. Svick (talk) 15:53, 13 February 2011 (UTC)

[edit] Library card required

I need an inline template similar to Registration required, but it would say Library card required. See Lee_Shippey#References for an example of references that could certainly use this template. I would make the template myself but I can't seem to find the instructions for doing so. Sincerely, GeorgeLouis (talk) 18:07, 26 February 2011 (UTC)

Why not just type out it, in plain text? Is there an advantage to typing {{Library-card-required-inline}} over typing Library card required? WhatamIdoing (talk) 22:20, 26 February 2011 (UTC)

I'm sorry, but I don't need a snarky comment about a perfectly honest suggestion. What exactly do the instructions < code > and < /code > do? I am not a computer programmer (not that there's anything wrong with that); I am an editor. Sincerely, still your friend although a bit miffed, GeorgeLouis (talk) 22:36, 26 February 2011 (UTC)

See my reply to a similar request above. You can use the {{fix}} template to create any inline template you want. "Library card required" using {{fix}} would look like this: [Library card required] and you can change the link to have it point to where you want by using additional parameters. Another way to do it, and perhaps an easier way, would be to type: <sup>Library card required</sup> which would output Library card required, which I think was what User:WhatamIdoing was getting at when he said to just "type it out". To further explain, <sup> is the HTML tag for 'SUPerscript', so when you surround text with <sup> ... </sup> it superscripts the text. -- œ 16:04, 27 February 2011 (UTC)

Thank you, OlEnglish, for the good explanation. I tried what you said, but the instructions sup and /sup showed up in the text, so I removed them and was pleased with the result. Here is what one page looks like at Lee_Shippey#References. I like it a lot. Because they are in a different font and smaller, the notes don't district from the really important stuff. What do you think? Sincerely, GeorgeLouis (talk) 20:03, 28 February 2011 (UTC)

GeorgeLouis, I was not being snarky. It's an honest question: Why do you need a template or any sort of fancy formatting to put the words "Library card required" at the end of a citation? Why don't you just type the plain old words "Library card required" at the end of the citation, exactly like you typed the plain old words "A longer version of this column appeared in the Kansas City Star" at the end of one citation in that article?
(The "code" formatting changes the font to monospace or 'typewriter font'), and thus I used it to indicate that it is the actual text you type.) WhatamIdoing (talk) 20:40, 28 February 2011 (UTC)

Thanks for responding, WhatamIdoing. I really don't like the way the References look when "Library card required" is in the same font as the rest of the citation. It is just too jarring. I prefer the look that results from a smaller typeface, as I noted above. Cheers! And have a great week! Sincerely, GeorgeLouis (talk) 22:03, 28 February 2011 (UTC)

Well, if you just want the text smaller, then the HTML code <small> is your friend. That produces Library card required. WhatamIdoing (talk) 01:03, 1 March 2011 (UTC)

[edit] Inline note to would-be editors

I have seen inline notes within the edit window that warn editors at the precise edit point that they are about to make a common mistake, etc. These notes are only visible within the edit window and not in the article as publicly viewed. What is the process for creating one of these notes? — Preceding unsigned comment added by Monkeyzpop (talkcontribs) 00:12, 28 June 2011 (UTC)

Do you mean warnings like this one? If that's the case, see Wikipedia:Edit filter for more information. User<Svick>.Talk(); 21:22, 28 June 2011 (UTC)
No, what I'm referring to is something like this in the actual article: "Joe Blow was born Joseph Bloseph in Salt Lake City, Utah," and like this in the edit window (with *** replacing whatever the actual correct html code would be): "Joe Blow as born Joseph Bloseph ***!This is correct--see talk for discussion of incorrect "common knowledge" that birth name was Joseph Blow*** in Salt Lake City, Utah." I've seen this sort of insertion many times, used to head off frequent inaccurate changes to the same material, usually by people who think they know the facts but haven't read the discussion page before editing something there is general consensus on. I'd like to know what this kind of hidden inline note is called and how to implement it. Monkeyzpop (talk) 22:46, 28 June 2011 (UTC)
Ah, sorry. You are talking about HTML comments, which are supported in the wikicode too. They are written as <!-- some comment -->. See also Wikipedia:Manual of Style#Invisible comments. User<Svick>.Talk(); 21:09, 29 June 2011 (UTC)

[edit] Template:Publisher missing

I created Template:Publisher missing based on Template:Author missing. May need some fixing (documentation, linking to). --Piotr Konieczny aka Prokonsul Piotrus| talk to me 17:52, 14 November 2011 (UTC)

[edit] Adding "reason=" parameter

Hello, regarding this thread I had at the Help Desk, is it possible to add a reason= parameter to Template:Verify credibility when failed=y? Thanks, --(Dynamic IP, will change when I log off.) 64.85.217.215 (talk) 10:12, 29 November 2011 (UTC)

Simply add it. Even though it is not supported, editors will see it when they edit the page. ---— Gadget850 (Ed) talk 10:51, 29 November 2011 (UTC)
OK, will do. --64.85.217.215 (talk) 11:01, 29 November 2011 (UTC)
Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export