Wikipedia:Requested templates/Created/2006/April

From Wikipedia, the free encyclopedia

Contents

[edit] Request Indianapolis 500 template

Request that it be in the same format as what was witnessed for the template at the bottom of the Australian Open page, with links to each individual year of the event (years currently being researched for inclusion, but already with pages already extant, to differing degrees of detail, for the 1911, 1912, 1950-1960, and 1965 races). Request that it be incorporated at the bottom section of the Indianapolis 500 page. --67.37.6.30 05:28, 7 April 2006 (UTC)

Template:Indy 500 created and added to bottom of Indianapolis 500. --CBDunkerson 11:41, 7 April 2006 (UTC)

[edit] US Senator Succession box

The usage of the Succession box template for US Senator is remarkably un uniform. The class of the senator is sometimes included, but sometimes not. Likewise, the name of the second senator of the state delegation is sometimes mentioned, but sometimes not.

Consider for example the Trent Lott page: http://en.wikipedia.org/wiki/Trent_Lott

It states that Lott is class 1 and that he serves alongside Thad Cochran.

His predecessor is John Stennis. http://en.wikipedia.org/wiki/John_C._Stennis

Here, we are informed of his class (class 1) but not of the name of the senator who served alongside him. Yet this information is available here: http://en.wikipedia.org/wiki/US_Congressional_Delegations_from_Mississippi#United_States_Senate

His predecessor is Theodore G. Bilbo. http://en.wikipedia.org/wiki/Theodore_Bilbo The succession box informs one neither of his class nor of the name of the senator he served alongside of.

Wikipedia would benefit from a more uniform page presentation. One cannot take it upon himseff to correct such pages until a uniform template is agreed unpon. —The preceding unsigned comment was added by 69.157.162.244 (talkcontribs) .

The Stennis and Bilbo pages actually both use the default {{succession box}} template and the absence of the 'class' on Bilbo is because it just wasn't input. On the Lott page there is a specialized {{Incumbent U.S. Senator box}} template which has an additional parameter for the 'served alongside' bit. There was also a {{U.S. Senator box}} with the same 'served alongside' option. I made changes to add the 'incumbent' features to 'U.S. Senator box' and then made the 'incumbent' template a redirect to it. Thus, Template:U.S. Senator box can now be used to do everything that was previously achieved with the three different templates. --CBDunkerson 01:30, 11 April 2006 (UTC)

[edit] ArXiv template, LLR template plez

Hi, currently many research papers in math/physics also exist as arXiv eprints, and citations to the arXiv version is most useful for Wikipedia since these are available permanently on-line. For the benefit of those editing math/physics articles, I have two requests:

1. A template which when called like

  • *{{Eprint reference | Author=Roberts, M. D. | Title=Spacetime Exterior to a Star: Against Asymptotic Flatness | Arxiv=gr-qc/9811093| Date=May 16 | Year=2002}}

produces

Here, please note that all arXiv preprints are accessed via an abstract page which has a url of form http://www.arxiv.org/abs/ followed by a section like "gr-qc", followed by a number like "9811093" in which the first two digits encode the year that the preprint was first submitted. If you look at the cited page, you can see that this particular preprint has been modified five times, and I am citing the most recent version. This example shows why the year indicated by the prefix does not always suffice, although I think the date and year could be made optional arguments for this template.

2. A new argument for {{tl:Journal reference}} which when called like

  • {{Journal reference | Author=Bicak, Jiri | Title=Selected exact solutions of Einstein's field equations: their role in general relativity and astrophysics | Journal=Lect. Notes Phys. | Year=2000 | Volume=540 | Pages=1-126| Arxiv=gr-qc/0004016}}

produces

  • Bicak, Jiri (2000). Selected exact solutions of Einstein's field equations: their role in general relativity and astrophysics. Lect. Notes Phys. 540: 1-126. ArXiv version

Regarding WikiProject GTR, the website Living Reviews in Relativity provides high-quality peer-reviewed review papers available on-line. Naturally, these tend to be much cited. So for benefit of this project-in-formation, I request:

3. A template which when called like

  • *{{LRR reference | Author=Gönner, Hubert F. M. | Title=On the History of Unified Field Theories | LRR=lrr-2004-2 | Date=August 10 | Year=2005}}

produces

Here, note that all LLR papers have a url of form http://relativity.livingreviews.org/open?pubNo= followed by a code like "lrr-2004-2" (second review published in 2004). (Note: on second thought, this seems to involve a cgi-script. I don't much about that, but before writing the template, our expert should perhaps consider whether it would be really bad idea to try to offer a citation-specific url instead of the front page of this site. CH [[User_talk:Hillman|(talk)]])

NOTE: Actually, the standard url of Living Reviews articles is http://www.livingreviews.org/<jrn-id>-<year>-<pub-no>, e.g. http://www.livingreviews.org/lrr-2004-2 FS

Crucial question: these templates would be extremely useful to me and I think to others. But what if someone nominates them for deletion? If they were approved for deletion, would this destroy all citations which had used these templates? Or would the admin deleting the template make sure to migrate all citations to a new template? ---CH [[User_talk:Hillman|(talk)]] 17:08, 20 November 2005 (UTC)

This all looks a bit confusing, but I'm gonna give it a go. As for you last crucial question the answer is possibly yes (they may all be destroyed), but this depends on a host of things. The way to prevent this will be that I code the template well and that you always substitute it. I'll detail that in a sec once I've made the templates.-- Alfakim --  talk  16:41, 12 April 2006 (UTC)
{{journal reference}} is deprecated. However I have created {{Eprint reference}} and {{LRR reference}}. See their discussion pages for information about how to use them.-- Alfakim --  talk  16:41, 12 April 2006 (UTC)
By the way I was a bit annoyed that the title of LRR kept changing from LRR to LLR all throughout this request.-- Alfakim --  talk  16:43, 12 April 2006 (UTC)
Please have a look at category:citation templates. See also template:cite journal and template:cite arXiv, which I created per request of CH . --Ligulem 18:14, 12 April 2006 (UTC)

[edit] Days Template

Recently, individual days such as June 10, 2004 and June 11, 2004 have been getting their own articles, listing the news events happening on those days. My suggestion is for a template, similar to Template:yearbox allowing one to navigate throught time by day, months and years. There is currently no standard form of these articles, compare March 31, 2004 to April 1, 2004. Perhaps we need a Wikiproject:dates? LukeSurl 23:43, 20 April 2006 (UTC)

I have made this template. It's at {{daybox}} and I've put it onto the four pages you've listed above. -- Alfakim --  talk  09:18, 21 April 2006 (UTC)
Scrap daybox, i had some big problems with it. about to replace with a much simpler {{daybar}}. -- Alfakim --  talk  10:41, 21 April 2006 (UTC)
{{daybar}} complete. Add it to the top of articles with names like above. It will show sequential dates and you can also add further ones for see also. -- Alfakim --  talk  12:03, 21 April 2006 (UTC)
Cool, make sure the bots insert the template correctly: {{daybar|{{subst:PAGENAME}}|YYYY}} is the best way to use it.-- Alfakim --  talk  13:40, 22 April 2006 (UTC)

[edit] Delta Force template

Taking a look at Delta Force 2 and other games in the series, it appears we could really do with a template to join those articles together. As it is, there are seven games and one expansion that need to be added, to avoid the annoying list at the bottom of each of their pages. The games that need to be included in the template are:

Thankee. RandyWang 14:15, 22 April 2006 (UTC)

Some of these already call Template:Infobox VG. That template includes options for 'preceded by' and 'followed by' which allow you to include links to related games. I added a 'followed by' parameter to Delta Force (computer game) as an example. Would that cover what you are looking for or do you need something else? --CBDunkerson 21:04, 22 April 2006 (UTC)
I was looking more for a way to allow the reader to navigate through the whole series at once - as in the case of games like Unreal Tournament. Unfortunately, tying them together with the "followed by" parameter would tie them together in an illogical way, since not all the games are real "sequels" to each other. This would be a good bandaid solution, though. :) RandyWang 23:52, 22 April 2006 (UTC)
Maybe just a quick Footer?
Delta Force games
Delta Force | Delta Force 2 | Land Warrior | Urban Warfare | Task Force Dagger | Black Hawk Down (Black Hawk Down: Team Sabre) | Xtreme
reorganize/relabel as fit and move to the template namespace. Don't forget to add this bit of code, though: <noinclude>[[Category:Computer and video game templates|{{PAGENAME}}]]</noinclude> Circeus 01:17, 23 April 2006 (UTC)
Winnar! Thanks very much for this :) RandyWang 02:35, 23 April 2006 (UTC)

[edit] The Incredibles

It would be nice to have an Incredibles template for the characters.

Heroes: Mr. Incredible, Elastigirl, Violet Parr, Dash, Jack-Jack Parr, Frozone.

Villains: Syndrome

Others: Edna Mode, Mirage, Gazerbeam.

I created Template:Infobox Incredibles as a basic template for this. The exact information included in the infobox can be adjusted if need be. --CBDunkerson 20:45, 22 April 2006 (UTC)
CBDunkerson, I think what was meant is a template similar to Template:James Bond characters. The template has been made, let me know on my talk page if there is anything you wish changed. — Webdinger BLAH | SZ 03:15, 13 July 2006 (UTC)

[edit] clean-up templates

I suggest that inline versions of the cleanup-date, citecheck, abbreviations, confusing, copyedit and technical templates be provided, for use if only a single paragraph or a few sentences of an article need to be cleaned up or corrected. 138.88.19.65 05:47, 16 April 2006 (UTC)

Created as Template:Fix. For instance {{fix|citecheck}} for an inline citecheck link or {{fix|date=May 13, 2004}} for an inline 'cleanup-date'. --CBDunkerson 01:04, 14 May 2006 (UTC)
Use {{fix|date=May 2004}} if you must. Rich Farmbrough, 17:13 2 April 2007 (GMT).

[edit] King George's Fields

Please look at List of King George V Playing Fields (Gloucestershire) as an example.

The page is simple page with a complex table, and asking editors to fill out a table is not always the easiest. The page is one of what will be many County pages for KGVF because there are 476 fields in the UK, so a "standard format" is desirable (which can change globally if future editors desire by changing the template.

I think we need three templates:

1) A page header, taking the County as the sole parameter, and creating the layout automatically down to the end "/tr" of the header rows of the table. It needs to fill the County into both the Page Intro and the Table Header, and wikilink it. It should also place the page into the category "King George's Field". It should not contain {{Incomplete-list}}, which is "editor's choice". Working title "kgvf-header"

2) A table row template, to be repeated multiple times containing as parameters each of the cells in the table row. working title "kgvf-row"

3) A page footer, handling the cite.php elements, including the explanation for unsure editors of how to use cite.php and the "==" level heading: "Notes". Working title "kgvf-footer"

I envisage a page to be made up simply of the following:

{{kgvf-header|County}}
{{kgvf-row|Param list}} (repeated as often as required)
{{kgvf-footer}}

The table is currently in HTML. I am much more familiar with HTML than wikimarkup. Since thsi will, please, be handled by the template, I have no feelings either way ion HTML vs Wikimarkup pipe syntax.

The cataloguing of KGV Fields has only just started, and the number of pages affected is currently 3. It would be great to get this templated before time has moved too far forward.

Fiddle Faddle 10:26, 29 May 2006 (UTC)

Because there are 7 parameters to pass to kgvf-row, one of which is itself a template {{KGVlist}} (with its own parameters, unless you fancy integrating the two), I imagine some defaults are useful to show where the editor has gone wrong. Unless you can think of a better way I suggest each column defaults to something like "col (number or name) data, n/a, or space required". While this will extend the table vertically most horribly, that in itself will act as a spur for a decent editor to do "something" instead of just being satisfied. I'm hoping to make this as "me proof" as possible without over-complicating it Fiddle Faddle 13:45, 29 May 2006 (UTC)

There is now an alternate wikimarkup version at List of King George V Playing Fields (Devon). I'm not waving any flag for either. Grateful thanks to RHaworth for wikimarkup-ing it. This gives whoever is kind enough to create the template either html or wiki to play with. Whichever version is chosen I undertake to apply the resultant templates to the pages created so far. Fiddle Faddle 17:21, 29 May 2006 (UTC)

there is also a started {{kgvf-row}} courtesy of RHaworth today Fiddle Faddle 18:49, 29 May 2006 (UTC)
See {{kgvf}} and an example of use at List of King George V Playing Fields (Devon). --CBDunkerson 19:28, 29 May 2006 (UTC)
I like {kgvf}} a lot. It is even simler to use than I had envisaged. Is there any chance of expanding it to create the entire page header and also to adding the category to the page, please? Will await answer before editing any of the other relevant pages Fiddle Faddle 19:47, 29 May 2006 (UTC)
I moved this additional info (basically the entire article) into the template. One issue is that the 'incomplete list' template can't be added in the middle now... though it could still be placed at the top or bottom. --CBDunkerson 20:24, 29 May 2006 (UTC)
For all your work much thanks. The advantages outweigh the minor disadvantage Fiddle Faddle 20:34, 29 May 2006 (UTC)
I hope what is a minor hurdle remains. Special characters in URLS. http://www.crawleydownvillage.co.uk/amenities/?ID=23&Email=&Category=Amenities causes parameter 8 to be unrecognised. I suspect the "?" or the "&", possibly the "=". any way around this? I fear a number of external links will have this structure. See List of King George V Playing Fields (Surrey) where I have worked aroun dit (by not using it) for now Fiddle Faddle 20:58, 29 May 2006 (UTC)
This is a common problem with 'unnamed' parameters and URLs with '=' chars. Any time you have a '|' indicating a new parameter then the text between the '|' and an '=' is treated as a parameter name and everything to the right of the '=' to the next '|' or end of the template call is treated as the value. If there isn't any '=' sign then the entire section is treated as the value and the 'parameter name' is the next un-used number... that's what the kgvc-row template is trying to do, but the '=' in the URL mistakenly gets interpreted as a parameter setting '='... resulting in a parameter named "http://www.crawleydownvillage.co.uk/amenities/?ID" set equal to the value "23&Email=&Category=Amenities".
A workaround to this problem is to actually use the number as a parameter name; "8=http://www.crawleydownvillage.co.uk/amenities/?ID=23&Email=&Category=Amenities". Getting the '8=' in there assigns the full URL to a parameter explicitly named '8' rather than defaulting to '8' since it is the eighth un-named parameter. --CBDunkerson 21:26, 29 May 2006 (UTC)
Understood. Is there a way of making it bomb-proof? Fiddle Faddle 21:43, 29 May 2006 (UTC)
Not really. The only other option would be to redo the kgvc-row template to require a parameter name like '|external='. That would at least make the need for a parameter name explicit all the time rather than having to use the '|8=' trick for URLs with '=' signs in them. Would that be preferable? --CBDunkerson 22:20, 29 May 2006 (UTC)
I am open to advice. Truly I have no knowledge of the difference in operation. But, if it means an editor with no experience can add to a page and do it more easily, then I would go with it. I am wholly out of my depth here and rely on advice Fiddle Faddle 22:25, 29 May 2006 (UTC)
Ok, I changed it to a named parameter and added documentation to both templates. --CBDunkerson 23:05, 29 May 2006 (UTC)
You, sir, are a scholar and a gentleman. I am grateful. Fiddle Faddle 23:16, 29 May 2006 (UTC)