Wikipedia:Requested templates: Difference between revisions
Hammersoft (talk | contribs) Fair use images not permitted in templates, per WP:NFCC #9 |
|||
Line 137: | Line 137: | ||
| name || Friday the 13th |
| name || Friday the 13th |
||
|- |
|- |
||
| image || File:Fridaythe13thseries.jpg |
| image ||NonFreeImageRemoved.svg <!--Fair-Use ([[:File:Fridaythe13thseries.jpg]]) File Removed by DASHBot--> |
||
|- |
|- |
||
| image size || 199px |
| image size || 199px |
Revision as of 05:05, 31 August 2010
This page has archives. Sections older than 15 days may be automatically archived by Lowercase sigmabot III. |
Add new requests for a new template or updates to existing templates to the bottom of this page. Please be clear about what the template is used for, roughly what it should look like, and which articles it should link to, if any.
For requests regarding stub templates, go to Wikipedia:WikiProject Stub sorting/Proposals.
A general description and guideline for userboxes can be found at Wikipedia:Userboxes. A detailed instruction to use the userbox template can be found at Template:Userbox. For requests regarding userboxes, go to Wikipedia talk:Userboxes/Ideas.
Help with simplifying/subtemplate creating
Hi, I've created Template:Aircraft specs as way to automatically convert specifications into other units (among other things). Its done thru a series of #if functions. The template has grown quite large, but is basically the same code repeated over and over. I'd like to create a subtemplate and just call it multiple times, but can't seem to get the coding down. I've created a subtemplate Template:Aircraft specs/parameter, and moved one of the parameter loops there:
{{
#if:{{{length m|}}}
|* '''Length:''' {{convert|{{{length m|}}}|m|ftin|abbr=on}} {{{length note|}}}
|{{#if:{{{length ft|}}}
|{{#if:{{{length in|}}}
|* '''Length:''' {{convert|{{{length ft|}}}|ft|{{{length in|}}}|in|m|abbr=on|disp=flip}} {{{length note|}}}
|* '''Length:''' {{convert|{{{length ft|}}}|ft|m|abbr=on|disp=flip}} {{{length note|}}}
}}
}}
}}
I would like to allow the word "length" to be a variable (renamed of course, to perhaps "parameter"), so that Template:Aircraft specs/sandbox pass the parameter "length", "span", etc to it. maybe this is done by adding the code {{Aircraft specs/parameter|length}}, {{Aircraft specs/parameter|span}}, ...
.
I hope I've explained it clearly enough, any help or suggestions would be appreciated. - Trevor MacInnis contribs 21:00, 31 July 2010 (UTC)
- Well, some simplification using a subtemplate is possible, but it won't be as short as
{{Aircraft specs/parameter|length}}
. Something like{{Aircraft specs/parameter|Length|{{{length m|}}}|{{{length ft|}}}|{{{length in|}}}|{{{length note|}}}}}
should work, but it's not very pretty. Svick (talk) 23:03, 31 July 2010 (UTC)
- Could it be done with
{{Aircraft specs/parameter|Parameter Name (Caps on)|parameter name|parameter unit|unit 2|unit 3}}
or do the parameter names need to be spelled out exactly? - Trevor MacInnis contribs 18:07, 3 August 2010 (UTC)
- Could it be done with
- All the parameters that are passed from one template to the other have to be spelled out. Otherwise, there is no way how to get their values. Svick (talk) 21:11, 3 August 2010 (UTC)
date never showing
I am trying to get it so that {{Cite GameFAQs}} (a wrapper template for cite web) will not display the date if its left blank, but still show it if it is filled in regardless of the coding format. 陣内Jinnai 22:31, 1 August 2010 (UTC)
- Done - I believe that that it should be working fine now. Hope this helps. Set Sail For The Seven Seas 7° 0' 0" NET 00:28, 2 August 2010 (UTC)
Different colored links for stubs.
You should make it so the links throughout the whole site will be of a different color if they direct to a stub article. That way you can avoid the stubs if you prefer.— Preceding unsigned comment added by 173.19.86.40 (talk • contribs)
- Interesting idea; not sure how achieveable that would be. In any case I would recommend bringing this up at the idea lab so that the implications can be explored. — Martin (MSGJ · talk) 15:20, 12 August 2010 (UTC)
- Stubs are only identified by user-added templates - it would require a tremendous amount of computational overhead to figure out if pages are stubs (basically you'd have to load each link on a page to check to see it the page has a stub template - or load a special 'stub category' page to see if a given link is included - and then re-color the link after the fact. I can't imagine that the result would be worth the overhead, not without some significant changes to the underlying structure of the wiki. --Ludwigs2 08:22, 13 August 2010 (UTC)
- If you registered an account, you could set a preference (click the Appearance tab) so that all links to pages with less than bytes are in different color. Svick (talk) 12:21, 13 August 2010 (UTC)
Dates in chronological order
Concerning Template:Vgrelease. Could manual sorting be implemented for the release dates? I mean the order the fields in a single call are used: Currently, the template always displays JP -> NA -> PAL -> EU -> AUS, no matter which order you use in the template call. For example, {{vgrelease|NA=January 21, 1998|JP=January 29, 1998|PAL=May 8, 1998}}
will display...
JP comes before NA although it is used after NA in the call. The code above should actually result in this:
I don't know how hard that is to achieve, just thought I'd request it here as the current method of using separate template calls for manual sorting is just clunky, confusing to editors, and a waste of space (for the above example, we currently have to use {{vgrelease|NA=January 21, 1998}}{{vgrelease|JP=January 29, 1998|PAL=May 8, 1998}}
to get the desired output). Prime Blue (talk) 09:20, 15 August 2010 (UTC)
Film series/franchise infobox requested
There are several articles regarding various film franchises that utilize the "film" infobox. I think there is too much information requested in this infobox for a series of films. For a series like the first group of Star Wars movies, where the writers, producers and directors are mostly the same for all three films, it's usable. However, a series like Friday the 13th with a total of 12 movies (including the 2009 reboot), each with a different writing/directing/producing team, the infobox could be longer than the article. To illustrate this, I completed an "infobox film" template (see below) with all the information I could find already aggregated onto one page. If I had researched these movies more, I could have easily expanded with entries for screenplay, release dates, actors (a list long enough to warrant a separate article), etc, etc.
I propose a shorter infobox with only the core production information that is likely to be carried over across all or most of the movies in the series. In addition, there should be statistical information related to the entire franchise such as total revenue, number of films. I think this would be a very useful tool. I've made a table with the info that I feel should be included. Compare it to the infobox and I think you'll see my point.
Thank you, Brendanmccabe (talk) 00:57, 30 August 2010 (UTC)
- It is worth noting, not all of the data is 100% accurate and none of it is verified.
Friday the 13th | |
---|---|
[[File:[|frameless|upright=1]] | |
Directed by |
|
Written by |
|
Produced by |
|
Production companies |
|
Release dates |
|
Running time |
|
Country | USA |
Budget |
|
Box office |
|
Proposed
name | Friday the 13th |
image | NonFreeImageRemoved.svg |
image size | 199px |
alt | cover of boxset |
caption | a box-set release of all 72 films |
Commonality | Jason character |
studio(s) |
|
distributor(s) | |
Number of films | 72 |
Avg runtime | 100 minutes |
country | USA |
language | English |
Average budget | |
total gross | US$465,239,523 |
Thanks again, Brendanmccabe (talk) 00:57, 30 August 2010 (UTC)