Template talk:Header

From Wikisource

Jump to: navigation, search

Archives: 2008

Contents

[edit] Interwiki

Please add ar:قالب:ترويسة --Fjmustak 21:02, 6 June 2008 (UTC)

It is already there. John Vandenberg (chat) 05:10, 7 June 2008 (UTC)

[edit] Date

Is there a way to include a date? Perhaps as a parameter? See John Adams' Fourth State of the Union Address. —Markles 19:23, 4 December 2008 (UTC)

I think we should have a way of identifying a specific version or revision of a work. For example, the copy of The Jewel of Seven Stars by Bram Stoker currently on Wikisource is labeled "(1903)", but is really the 1912 revised edition. Ideally we will eventually have both versions, and they should be differentiated in some standardized way that would be reflected in the header template. Could we add a version= field? Or should we just change the title of the work to include the date, as in "The Jewel of Seven Stars (1903)" and "The Jewel of Seven Stars (1903 revised 1912)" or "The Jewel of Seven Stars (1912 edition)"? Thanks! GCL (talk) 03:48, 27 December 2008 (UTC)

This is a great ideal, but we are still far away from being able to handle this. Putting something in a header won't be enough as long as people believe there will be no significant difference between a 1903 original and its 1912 reprint (or revision}. Adding the edition year to the title is fine when we have more than one version, but until contributors learn to properly source these works, we can't do much more than put comments in the notes to the header. I have already proofread several works on the basis of early magazine publication, and find myself in a quandary when our existing version is from an otherwise unsourced Project Gutenberg text. Eclecticology (talk) 08:05, 27 December 2008 (UTC)

[edit] Adding a way to categorize the author or title

Is there any way to add a category for the title and author. That way a person can just type in "category:Aesop's Fables" and see the list of fables? 69.120.130.231 15:35, 28 January 2009 (UTC)

[edit] Propose add "See also"

I would like to add reference for the style to add Anonymous authors, and was thinking to add a section at the bottom that referred onto {{Anon}}. Alternate suggestions welcomed. -- billinghurst (talk) 01:26, 31 March 2009 (UTC)

[edit] Suggest add |override_translator =

I would like to see the addition of |override_translator = akin to |override_author = so that the active hyperlink can be excluded in the translator field. Thanks. -- billinghurst (talk) 22:20, 16 April 2009 (UTC)

So would I. I went ahead and used the parameter for Visit of the Hon. Carl Schurz to Boston/Reception by German Citizens/Address by Professor Krauss. The provider of the translation in this case is the same as the author which was specified as override_author = St. Botolph Club. Bob Burkhardt (talk) 12:31, 4 May 2009 (UTC)

I just tried editing twice but the result would not show up. I may need an expert.--Jusjih (talk) 02:26, 24 June 2009 (UTC)

[edit] Year

I suggest that a year = section be added to allow for speedy categorization within the header by year. Geoff Plourde (talk) 20:05, 21 June 2009 (UTC)

Which year? Original publication? The edition we host? Year of translation? ... Eclecticology - the offended (talk) 05:41, 24 June 2009 (UTC)
This function has a head start. If you want to specify which year, enhanced function will be better but complex. Pending that, just write in the note for now.--Jusjih (talk) 18:35, 24 June 2009 (UTC)
That wasn't quite my question. If a year appears in the header, how are we supposed to know what it represents. Is it one of the possibilities that I mentioned, or even something else. Eclecticology - the offended (talk) 20:15, 24 June 2009 (UTC)
I would suggest the year of the work for which copyright will apply. So it becomes the [[Category:1921 works]]. If it is getting more complex then that, then that would be the guidance for Keep it Simple. -- billinghurst (talk) 07:50, 25 June 2009 (UTC)
The year doesn't necessarily appear in the header, it is for categorization purposes. Geoff Plourde (talk) 19:29, 26 June 2009 (UTC)
I did not mean adding the year to the header, rather a field that adds the page to Category:X works. Geoff Plourde (talk) 19:35, 26 June 2009 (UTC)
That sounds worse. Publishing details should continue to appear on the page itself, while the utility of such categories is marginal at best. Eclecticology - the offended (talk) 22:10, 26 June 2009 (UTC)
I don't object to the year being added to notes, but the "in the year" method is ugly. Geoff Plourde (talk) 19:34, 27 June 2009 (UTC)

[edit] class

Hi. How could I add a new class like "headertemplate" to my own wiki? I wanted to add this template to my wiki but I found out that I need the above css class. --80.71.122.147 11:35, 25 August 2009 (UTC)

Hello 80.71. The CSS classes for this template are defined at MediaWiki:Common.css. Just copy the code below to "MediaWiki:Common.css" on your wiki, and update your browser cache to see the changes.
table.headertemplate {
	width:100%;
	margin-bottom:5px;
	border:1px solid #ADA;
	background:#E4F2E4;
	text-align:center;
	font-size:0.9em;
}
.headertemplate .header_backlink,
.headertemplate .header_forelink {
	width:20%;
	font-size:0.9em;
	line-height:normal;
}
.header_notes {
	width:100%;
	margin-bottom:0.5em;
	background:#FAFAFF;
	border-bottom:1px solid #A88;
	font-size:0.9em;
}
.headertemplate .header_title { width: 60%; }
.headertemplate .header_backlink { text-align:left; }
.headertemplate .header_forelink { text-align:right; }
Pathoschild 12:02:04, 25 August 2009 (UTC)
thanks --80.71.125.133 11:22, 26 August 2009 (UTC)

[edit] Correct the override_translator

Please correct the code with the code from http://en.wikisource.org/w/index.php?title=Template:Sandbox&oldid=1220547 You can see some of my testcases in http://en.wikisource.org/w/index.php?title=Wikisource:Sandbox&oldid=1220550 . It makes the override_translator works. Vinhtantran (talk) 11:22, 10 September 2009 (UTC)

Oops we missed this. Apologies.
An edit has already been undertaken to {{header}} and you can see the results of the your test against this file at http://en.wikisource.org/w/index.php?title=Wikisource:Sandbox&oldid=1529995 billinghurst (talk) 12:16, 7 November 2009 (UTC)

[edit] {{Header}} and Scans

I would like to propose that we look to add (yet) another field to {{header}} that provides a direct link to the relevant image file Index: page. Tentatively call field | scan = though I could be convinced to call it a number of things.

I would propose that the field be

  • non-mandatory
a) not all works have scans, b) I would envisage to use this more where a work is divided into sub-pages, and the Table of Contents is the more usual on the main page. Noting that normal transclusion processes show page links where transcluded directly
  • show as the first component in the Notes display
  • have a standard visual text "Link to scans"
or whatever we chose to call it
  • that the information by the filename without the INDEX namespace rider
more flexible and akin to how we handle images
  • possible pick up the status of the work, similar to the pictogram used (top of page) where pages are transcluded directly

Probably other things that others can add or vary. -- billinghurst (talk) 12:08, 7 November 2009 (UTC)

First thoughts are that this sounds like a great idea! If it were to pick up the status of the work (eg. validated) it would be most useful if it only considered the pages transcluded by the article itself. Suicidalhamster (talk) 19:59, 9 November 2009 (UTC)