CodexTransformer

This template is used to define codex entry information. It can be used either on an individual page for a codex entry, or on a summary page (in the latter case, the parameter "summaryonly" should be defined with a value of "true".

Using this template allows codex text to be reused across the wiki.

## Usage

The infobox relies on several templates to become functional.

```
{{CodexTransformer

}}
```

### Basic information

`{{{style|}}}` should always be in the template

The name of the entry, without the "Codex entry" part, e.g., `Ogre` for Codex entry: Ogre

If an article with the same name already exist, use it to append a disambiguation word to it, e.g., `Dragon Age II` for Codex entry: Alistair (Dragon Age II)

This can be used when name of "book" in which codex entry is found differs from name in journal, e.g., "On Calenhad's early rise" for Codex entry: The Legend of Calenhad: Chapter 1

Sort key used to determine which letter page appears under in the category pages, e.g., `City Elves` for Codex entry: The City Elves

The icon of the infobox. Specifically, the value should be the one where the codex entry appears first, e.g., for the ogre codex entry, it would be the *Dragon Age: Origins* icon. However, since `icon` defaults to this, it is unnecessary.

* *Dragon Age: Origins*: , `Ico codex entry.png`
* *Dragon Age II*:  `Codex icon DA2.png`

Only type the full filename, e.g., `The Exiled Prince.png`

The image's size, e.g., `200px`. The maximum width allowed is 270.

The list of games in which the codex entry appears. This is used for other types of pages, such as books.

### Game-specific

**Note:** The listed parameters do not mean that category DAO equals to category DA2, contrary to how documentation works. This is done to save space.

Number of the codex entry in original campaign (or original campaign + DLC required), with modifiers if number is affected by DLC, eg 101 (+2TSP, +1WK)

Name of the codex section in which it appears, e.g., `Creatures`. It will automatically categorize the page to the section.

Where/how codex entry can be found

If appropriate, information about updates to this codex entry after acquisition

If the codex entry appears in *Awakening*, type `[[Dragon Age: Origins - Awakening]]`

If the codex entry appears in any DLC, type the full name with a link, e.g., `[[Warden's Keep]]`

### Content

The following is used in the content space of the article rather than the infobox.

Links to related pages if they haven't been linked already

More information about the codex entry if required (will only be displayed on single page), e.g., map of location.

List related codex entries only which only appears on the article itself, e.g.:

```
* [[Codex entry: The First Blight: Chapter 2]] - Dumat Rises
* [[Codex entry: The First Blight: Chapter 3]] - The Dwarves Fall
* [[Codex entry: The First Blight: Chapter 4]] - Griffons Take Flight
* [[Codex entry: The Old Gods]] explains what the "first sin" was
```

More information about the codex entry if required (will only be displayed on single page)

An excerpt from the full codex entry text for use elsewhere in the wiki. It will be used if `excerptonly=true` switch used when entry is included using the {{CodexSummary}} or {{CodexExcerpt}} templates

The whole codex entry: the text is copied verbatim from the game. Make sure to use wikilinks and formatting.

You can use the following templates for formatting:

* {{quote}}: Quote within the codex entry
* {{blockquote}}: Block of text within the codex entry, e.g., Codex entry: Desire Demon
* {{CodexConditionalSection}}: If a section within the infobox changes depending on the player's choice, e.g., Codex entry: A Study of the Fifth Blight, Vol. One
* {{CodexConditionalParagraph}}: If a line or a paragraph changes depending on the player's choice

## See also

*Main article: CodexSinglePage*

*Main article: CodexExcerpt*

*Main article: CodexSummary*

*Main article: CodexInfoBox*