Difference between revisions of "Template:Publication"

From Inventing aviation
Jump to navigation Jump to search
(Undo form for keywords -- more trouble than it's worth)
(replace Qid by Wikidata id and automatically link to wikidata in front end)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the "Publication" template. We may want to split articles, books, periodicals, and secondary sources into different categories with different templates; please put suggestions on the discussion page here.
 
This is the "Publication" template. We may want to split articles, books, periodicals, and secondary sources into different categories with different templates; please put suggestions on the discussion page here.
* For [[Countries]], generally use the [[w:ISO 3166-1|ISO 3166-1]] standard two-letter abbreviations in caps, e.g. GB, US, DE, FR, IT, RU, ZA, and NL. (as wikipedia does). For unusual cases not listed there, like the earlier principalities of Germany and Italy (e.g., Bavaria), use a term or abbreviation that makes sense and we'll figure it out.  List multiple countries if that makes sense, and put semicolons between the abbreviations in a list.
+
* For [[Countries]], generally use the [[w:ISO 3166-1|ISO 3166-1]] standard two-letter abbreviations in caps, e.g. GB, US, DE, FR, IT, RU, ZA, and NL. These are the ones Wikipedia uses. For cases not listed there, like the earlier principalities of Germany and Italy (e.g. Bavaria, Sachsen/Saxony, Sardinia), use a term or abbreviation that makes sense and we'll figure it out.  List multiple countries when appropriate, putting semicolons between the elements of the list.  "DE;AT" is common because many works were published in both Germany and Austria; "GB;US" is common too.  It is not always clear when to use AT for Austria and HU for Hungary versus AH for the [[Austro-Hungarian Empire]].  Tentatively use the modern smaller country names when possible, because for later analysis it is not hard to aggregate them.  For patents, it seems that the AH units analogous to our modern countries had their own patent offices, but for publications there may be difficult ambiguities.  It is okay to list AT and AH in a list.
* For [[Languages]], use the [[w:ISO_639-1 ISO_639-1]] standard two-letter abbreviations as Wikipedia does, in lower case, e.g. en, fr, de, nl.  [[List_of_ISO_639-1_codes|Here's a list of the abbreviations]].  If that list is insufficient, use something else and we'll figure it out later.  List multiple languages, if that makes sense, and put semicolons between the abbreviations in a list.
+
* For [[Languages]], use the [[w:ISO 639-1|ISO 639-1]] standard two-letter abbreviations as Wikipedia does, in lower case, e.g. en, fr, de, nl.  [[w:List of ISO 639-1 codes|Here's a list of the abbreviations]].  If that list is insufficient, use something else and we'll figure it out later.  List multiple languages, if that makes sense, and put semicolons between the abbreviations in a list.
* For names of pages about publication, LTA suggests these formats for the publication info coming from Brockett pubsPage title is "Author last name, year, and a suffix letter a/b/c/etc to make them distinct".  If no author is known page title is "publication abbr, year, title".  Publication Abbr will be AJ for ''[[Aeronautical Journal]]''.
+
* Names of pages about publication, are usually of the form "author, year, compressed title"When no author is known, a possible title is "Publication #12345, year, compressed title".  Toss out year or compressed title if they are not known.  Variations are fine.  Feel free to add a suffix letter a/b/c/etc to make a page name distinct or clear.  If two titles are the same, feel free to add a suffix identifying the journal or other publication, preferably using a short abbreviation like AJ for ''[[Aeronautical Journal]]''. Publications without clear author info will often have "Publication B2xyz" in their page titles where the number comes from the indexes created for separating them out among Brockett entries. This is not elegant but it helps get the publications imported without duplication and ambiguity.  It is fine to rename those pages afterward; we can find and report on them using the Publication template when needed.
* Econterms can imagine an alternative in which some publications especially those without clear author info are Publication #xyz where the number comes from the indexes created for separating them out among Brockett entries.
 
 
<pre>
 
<pre>
 
{{Publication
 
{{Publication
Line 18: Line 17:
 
|Page count=
 
|Page count=
 
|Word count=
 
|Word count=
 +
|Wikidata id=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
  
{{#cargo_declare:_table=Publications|Original_title=String (hidden)|Simple_title=String (hidden)|Authors=List (;) of Page|Date=Date|Countries=List (;) of Page|Languages=List (;) of Page|Keywords=List (;) of Page|Journal=List (;) of Page|Related_to_aircraft=String (allowed values=Yes,Partially,No)|Page_count=Integer|Word_count=Integer}}
+
{{#cargo_declare:_table=Publications
 +
|Original_title=String (hidden)
 +
|Simple_title=String (hidden)
 +
|Authors=List (;) of Page
 +
|Date=Date
 +
|Countries=List (;) of Page
 +
|Languages=List (;) of Page
 +
|Keywords=List (;) of Page
 +
|Journal=List (;) of Page
 +
|Related_to_aircraft=String (allowed values=Yes,Partially,No)
 +
|Page_count=Integer
 +
|Word_count=Integer
 +
|Wikidata_id=Text
 +
}}
  
</noinclude><includeonly>{{#cargo_store:_table=Publications|Original_title={{{Original title|}}}|Simple_title={{{Simple title|}}}|Authors={{{Authors|}}}|Date={{{Date|}}}|Countries={{{Countries|}}}|Languages={{{Languages|}}}|Keywords={{{Keywords|}}}|Journal={{{Journal|}}}|Related_to_aircraft={{{Related to aircraft|}}}|Page_count={{{Page count|}}}|Word_count={{{Word count|}}} }}{| class="wikitable"
+
</noinclude><includeonly>
 +
{{#cargo_store:_table=Publications
 +
|Original_title={{{Original title|}}}
 +
|Simple_title={{{Simple title|}}}
 +
|Authors={{{Authors|}}}
 +
|Date={{{Date|}}}
 +
|Countries={{{Countries|}}}
 +
|Languages={{{Languages|}}}
 +
|Keywords={{{Keywords|}}}
 +
|Journal={{{Journal|}}}
 +
|Related_to_aircraft={{{Related to aircraft|}}}
 +
|Page_count={{{Page count|}}}
 +
|Word_count={{{Word_count|}}}
 +
|Wikidata_id={{{Wikidata id|}}}
 +
}}
 +
{| class="wikitable"
 
! Original title
 
! Original title
 
| {{{Original title|}}}
 
| {{{Original title|}}}
Line 57: Line 85:
 
! Word count
 
! Word count
 
| {{{Word count|}}}
 
| {{{Word count|}}}
 +
|-
 +
! Wikidata id
 +
| {{#if: {{{Wikidata id|}}} | [[w:d:{{{Wikidata id}}}|{{{Wikidata id}}}]] }}
 
|}
 
|}
  
 
[[Category:Publications]]
 
[[Category:Publications]]
 
</includeonly>
 
</includeonly>

Latest revision as of 15:39, 8 September 2020

This is the "Publication" template. We may want to split articles, books, periodicals, and secondary sources into different categories with different templates; please put suggestions on the discussion page here.

  • For Countries, generally use the ISO 3166-1 standard two-letter abbreviations in caps, e.g. GB, US, DE, FR, IT, RU, ZA, and NL. These are the ones Wikipedia uses. For cases not listed there, like the earlier principalities of Germany and Italy (e.g. Bavaria, Sachsen/Saxony, Sardinia), use a term or abbreviation that makes sense and we'll figure it out. List multiple countries when appropriate, putting semicolons between the elements of the list. "DE;AT" is common because many works were published in both Germany and Austria; "GB;US" is common too. It is not always clear when to use AT for Austria and HU for Hungary versus AH for the Austro-Hungarian Empire. Tentatively use the modern smaller country names when possible, because for later analysis it is not hard to aggregate them. For patents, it seems that the AH units analogous to our modern countries had their own patent offices, but for publications there may be difficult ambiguities. It is okay to list AT and AH in a list.
  • For Languages, use the ISO 639-1 standard two-letter abbreviations as Wikipedia does, in lower case, e.g. en, fr, de, nl. Here's a list of the abbreviations. If that list is insufficient, use something else and we'll figure it out later. List multiple languages, if that makes sense, and put semicolons between the abbreviations in a list.
  • Names of pages about publication, are usually of the form "author, year, compressed title". When no author is known, a possible title is "Publication #12345, year, compressed title". Toss out year or compressed title if they are not known. Variations are fine. Feel free to add a suffix letter a/b/c/etc to make a page name distinct or clear. If two titles are the same, feel free to add a suffix identifying the journal or other publication, preferably using a short abbreviation like AJ for Aeronautical Journal. Publications without clear author info will often have "Publication B2xyz" in their page titles where the number comes from the indexes created for separating them out among Brockett entries. This is not elegant but it helps get the publications imported without duplication and ambiguity. It is fine to rename those pages afterward; we can find and report on them using the Publication template when needed.
{{Publication
|Original title=
|Simple title=
|Authors=
|Date=
|Countries=
|Languages=
|Keywords=
|Journal=
|Related to aircraft=
|Page count=
|Word count=
|Wikidata id=
}}

Edit the page to see the template text.

This template defines the table "Publications". View table.