Template:Card

From Fallen London Wiki
Template documentation (for the above template, sometimes hidden or invisible)
  • location: Where the card appears. The location name is plain-text, it will be converted to image-link by the template.
  • locationX: Optional extra locations in which the card also appears
  • Description The description of the card, which appears right below the name. Trimming Guidelines apply if this is longer than 250 characters.
  • Description summary if you see it fit to write your own shorter one.
  • Game Instructions can be used for game instructions (bold + italic text). This does not count against the character limit.
  • Unlocked with lists unlocks. Use Template:Unlock here, such as "{{Unlock|Watchful}} 100" or "{{Unlock|Shard of Glim|10 x}}".
  • Locked with lists qualities that lock an action. Instead of "Unlocked with no more than 1x Shard of Glim", use this to write it as "Locked with 2x Shard of Glim". Use Template:Unlock here too. (It sounds weird, but it adds the appropriate category for tracking quality usage.)
  • Frequency allows you to note the frequency of the card in plain text. For a list of supported frequencies, see Category:Card Frequency.
  • Discardable - setting this option to "no" will display a note about the card being non-discardable, and add it to Category:Non-discardable.
  • colour Allows you to list the colour of the card border and automatically add it to the right category. Don't include for normal card border. Acceptable parameters: bronze, silver, gold, red, purple, black, greenliving, green, blackzee, blue
  • Option1OptionX Allow you to list options on the card (article names of the actions, in plain text). Please start with Option1 for the first option and keep them in order.
    Use the {{!}} workaround for changing option appearance, e.g. to avoid numbers from disambiguated pages: "|OptionX = Accept 2{{!}}Accept".
    (This works because {{!}} is expanded to | by the parser. If you'd just use | right away, the Card template itself would treat this as parameter and end up very confused. {{!}} on the other hand is passed through templates, and only then converted to a pipe character when this particular danger is past.)
  • For more complicated cards, Template:Options can be used instead of (or in addition to) the OptionX options. See An Implausible Penance for an example.

Template for the display & categorization of Cards.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Locationlocation

Where the card appears. The location name is plain-text, it will be converted to image-link by the template.

Example
The Flit
Pageoptional
Location1location1

Optional extra locations in which the card also appears

Lineoptional
DescriptionDescription

The description of the card, which appears right below the name. Trimming Guidelines apply if this is longer than 250 characters.

Stringrequired
Description summaryDescription summary

Player-provided summary of the description. Does not count towards the 250-character limit.

Contentsuggested
Game InstructionsGame Instructions

Non-narrative game instructions, usually in bold + italic text. This does not count against the character limit.

Contentoptional
Unlock ConditionsUnlocked with

A comma-separated list of conditions required for the card to appear. Use the Unlock template.

Example
{{Unlock|Watchful}} 100, {{Unlock|Shard of Glim|10 x}}
Contentoptional
Lock ConditionsLocked with

Conditions that prevent the card from appearing. Use if this is more logical than Unlock Conditions.

Contentoptional
FrequencyFrequency

The draw frequency of the card. The frequency is in plaintext and will be converted to a link by the template.

Example
Very Infrequent Frequency
Pagerequired
DiscardableDiscardable

"no" if card has no discard button

Default
yes
Example
no
Auto value
yes
Booleanoptional
OptionsOption1 Option2 Option3 Option4 Option5 Option6 Option7

The names of the Actions available to play should be listed as arguments to successive parameters starting with Option1, and incrementing as high as needed. To change how an Option is displayed, put OptionN = Name of Link{{!}}Text to Display.

Example
|Option1 = Name of First Option|Option2 = Name of Second Option{{!}}Text to Display for Second Option
Pagesuggested
Wiki NoteWiki Note

Player-provided note to provide more information or clarify something about the card.

Contentoptional
IDID

The numerical ID associated with the card.

Example
42
Numberoptional
Colourcolour color

The colour of the card's border, if any. Should be one of bronze, silver, gold, red, purple, black, greenliving, green, blackzee, blue.

Example
gold
Lineoptional
IconIcon

Image name without File:, but with .png

Linerequired
Spoiler TypeSpoiler Type

Parameter to Template:Spoiler

Example
Major
Lineoptional
Alternative Frequency (deprecated)Frequency2

no description

Auto value
Unknowndeprecated

Visit Template:Card/doc to edit this text! (How does this work?)