AwardAnnals:DisplayWorks
From AwardAnnals
The magic word {{displayworks:}} is used to display the description of a specific creative work (CW). The function behind the word is used by both the {{honorroll:}} and {{annalentry:}} functions to display the works they select.
Common Usage
Following the colon, simply specify the page title of the CW. Multiple CWs are separated by a pipe. For instance, the result of the following code is displayed below. Note that the code contains a list of page titles, but the displayed list contains the proper names of the creative work rather than the page title. The content of each listing is defined on a creative work page with an “infobox” template.
{{displayworks:
| American Gods
| Stranger in a Strange Land
| Starship Troopers (film) }}
- 2002 Hugo-Novel winner
- 2002 Nebula winner
- 2001 Stoker–Novel winner
- 2002 Mythopoeic-Adult finalist
- 2002 WFA–Novel nominee
- 2001 IHG–Novel nominee
- Score: 48.52
A master of inventive fiction, Neil Gaiman delves into the murky depths where reality and imagination meet. Now in American Gods, he works his literary magic to extraordinary results.
Shadow dreamed of nothing but leaving prison and starting a new life. But the day before his release, his wife and best friend are killed in an accident. On the plane home to the funeral, he meets Mr. Wednesdaya beguiling stranger who seems to know everything about him. A trickster and rogue, Mr. Wednesday offers Shadow a job as his bodyguard. With nowhere left to go, Shadow accepts, and soon learns that his role in Mr. Wednesday’s schemes will be far more dangerous and dark than he could have ever imagined. For beneath the placid surface of everyday life a war is being foughtand the prize is the very soul of America.
Stranger in a Strange Land, winner of the 1962 Hugo Award, is the story of Valentine Michael Smith, born during, and the only survivor of, the first manned mission to Mars. Michael is raised by Martians, and he arrives on Earth as a true innocent: he has never seen a woman and has no knowledge of Earth’s cultures or religions. But he brings turmoil with him…
In the first and finest RoboCop movie, director Paul Verhoeven combined near-future science fiction with a keen sense of social satire—not to mention enough high-velocity violence to satisfy even the most voracious bloodlust. In Starship Troopers, Verhoeven and RoboCop cowriter Ed Neumeier take inspired cues from Robert Heinlein’s classic sci-fi novel to create a special-effects extravaganza that functions on multiple levels of entertainment. The film might be called “Melrose Place in Space,” with its youthful cast of handsome guys and…
Commands
You may also insert any of the following commands, also separated by a pipe. Each commands apply to the subsequent CWs in the list, and may be toggled “show” and “hide” repeatedly.
| Default: | Optional: | Description: |
|---|---|---|
| showimage | hideimage | The cover art. |
| showhonors | hidehonors | The list of honors following the creator’s name. |
| showdescription | hidedescription | A synopsis |
| hideribbon | showribbon | A blue ribbon on the image. |
| *hideclear | *showclear | A “clear” DIV to prevent text wrapping issues on list items with a short description. Show this if image is showing while descriptions are hidden. |
Each command applies to the CWs that follow it in the list. The following example demonstrates hiding and showing the description.
Example 1
{{displayworks:
| hideimage
| American Gods
| hidedescription
| Stranger in a Strange Land
| hidehonors
| Starship Troopers (film)
| showimage|showhonors
| Neuromancer }}
- 2002 Hugo-Novel winner
- 2002 Nebula winner
- 2001 Stoker–Novel winner
- 2002 Mythopoeic-Adult finalist
- 2002 WFA–Novel nominee
- 2001 IHG–Novel nominee
- Score: 48.52
A master of inventive fiction, Neil Gaiman delves into the murky depths where reality and imagination meet. Now in American Gods, he works his literary magic to extraordinary results.
Shadow dreamed of nothing but leaving prison and starting a new life. But the day before his release, his wife and best friend are killed in an accident. On the plane home to the funeral, he meets Mr. Wednesdaya beguiling stranger who seems to know everything about him. A trickster and rogue, Mr. Wednesday offers Shadow a job as his bodyguard. With nowhere left to go, Shadow accepts, and soon learns that his role in Mr. Wednesday’s schemes will be far more dangerous and dark than he could have ever imagined. For beneath the placid surface of everyday life a war is being foughtand the prize is the very soul of America.
Note that this text is a paragraph following the display. It should appear below the cover art, not next to it. That is why it is sometimes necessary to add a clear, as in the following example.
Example 2
{{displayworks:
| showclear | hidedescription | hidehonors
| Stranger in a Strange Land }}
Note that this text is a paragraph following the display. It now below the image, as it should.
Category
The {{displayworks:}} function will add a page to the Displayworks category. This merely simplifies the administration of the site.
