• Home
  • Random
  • Nearby
  • Log in
  • Settings
  • Donate
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:H2G2

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]

This template inserts references to the various The Hitchhiker's Guide to the Galaxy versions into Wikipedia articles. The links can be very long-winded, so this template makes them easy and consistent.

Compare:

[[The Hitchhiker's Guide to the Galaxy Tertiary to Quintessential Phases#Fit the Fourteenth|fit the fourteenth]] of the radio series

with:

{{H2G2|radio|14|link=yes}}

The template inserts text suitable for use in a list or sentence. This makes pages easy to edit — with shorter, much shorter sources. I tried doing Adams' quotes on Twitter on Towel Day, and he's not very 140 characters.

Articles that can benefit include:

  • List of minor The Hitchhiker's Guide to the Galaxy characters
  • Places in The Hitchhiker's Guide to the Galaxy
  • Phrases from The Hitchhiker's Guide to the Galaxy

So ...

 BRIANTIST  (talk) 18:45, 28 May 2009 (UTC)

Usage

edit

Link parameter

edit

Use of the template should include the link parameter. Specifying link=yes will transclude text which is linked, and link=no unlinked text. Apart from the linking, the text is identical. The default is to transclude unlinked text.

Examples

edit

{{H2G2|book|1|link=yes}} to {{H2G2|book|6|link=yes}} for the novels:

  • the novel The Hitchhiker's Guide to the Galaxy
  • the novel The Restaurant at the End of the Universe
  • the novel Life, the Universe and Everything
  • the novel So Long, and Thanks for All the Fish
  • the novel Mostly Harmless
  • the novel And Another Thing...

{{H2G2|radio|1|link=yes}} to {{H2G2|radio|26|link=yes}} for the radio episodes:

  • Fit the First of the radio series
  • Fit the Twenty-Sixth of the radio series

{{H2G2|phase|1|link=yes}} to {{H2G2|phase|5|link=yes}} for the radio phases:

  • the radio series The Primary Phase
  • the radio series The Secondary Phase
  • the radio series The Tertiary Phase
  • the radio series The Quandary Phase
  • the radio series The Quintessential Phase

{{H2G2|tv|1|link=yes}} to {{H2G2|tv|6|link=yes}} for the TV episodes:

  • episode 1 of the TV series
  • episode 6 of the TV series

{{H2G2|movie|1|link=yes}} for the film:

  • the 2005 movie The Hitchhiker's Guide to the Galaxy

{{H2G2|game|1|link=yes}} and {{H2G2|game|2|link=yes}} for the computer games:

  • the video game The Hitchhiker's Guide to the Galaxy
  • the video game Starship Titanic
The above documentation is transcluded from Template:H2G2/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wiki.x.io/w/index.php?title=Template:H2G2&oldid=1003848979"
Last edited on 31 January 2021, at 00:14

Languages

      This page is not available in other languages.

      Wikipedia
      • This page was last edited on 31 January 2021, at 00:14 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop