Template:Compendium/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:Compendium/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 3: Line 3:


==Usage==
==Usage==
By default, the table is spread out. It can be collapsed by adding the parameter <code><nowiki>collapse=</nowiki></code> with any value (such as 1 or y). If a demon has more than five entries, the table should be made collapsible.
By default, the table is spread out. It can be collapsed by adding the parameter <code><nowiki>collapse=</nowiki></code> with any value (such as 1 or y). If a demon has more than five entries, the table should be made collapsible. If a demon does not appear in a game or does not have an entry in that particular title, that game's parameter should be omitted.
 
<pre>{{Compendium
|smt1= Shin Megami Tensei
|smt3= Shin Megami Tensei III: Nocturne
|smtsj= Shin Megami Tensei: Strange Journey
|smt4= Shin Megami Tensei IV
|smt4a= Shin Megami Tensei IV: Apocalypse
|smt5= Shin Megami Tensei V
|smti= Shin Megami Tensei: Imagine
|dx2= Shin Megami Tensei: Liberation Dx2
|sh= Devil Summoner: Soul Hackers
|dsrk= Devil Summoner: Raidou Kuzunoha vs. the Soulless Army
|sh2= Soul Hackers 2
|p3= Persona 3
|p4= Persona 4
|p5= Persona 5
|p5s= Persona 5 Strikers
|dcld= Devil Children Light Book & Dark Book
|desu= Devil Survivor
|desu2= Devil Survivor 2
}}</pre>


===Code===
===Code===
===Examples===
===Examples===
{{Documentation Footer}}
{{Documentation Footer}}

Revision as of 03:09, 18 July 2023

Purpose

Table template used to document the in-game Demonic Compendium entries of demons and Personas on their pages.

Usage

By default, the table is spread out. It can be collapsed by adding the parameter collapse= with any value (such as 1 or y). If a demon has more than five entries, the table should be made collapsible. If a demon does not appear in a game or does not have an entry in that particular title, that game's parameter should be omitted.

{{Compendium
|smt1= Shin Megami Tensei
|smt3= Shin Megami Tensei III: Nocturne
|smtsj= Shin Megami Tensei: Strange Journey
|smt4= Shin Megami Tensei IV
|smt4a= Shin Megami Tensei IV: Apocalypse
|smt5= Shin Megami Tensei V
|smti= Shin Megami Tensei: Imagine
|dx2= Shin Megami Tensei: Liberation Dx2
|sh= Devil Summoner: Soul Hackers
|dsrk= Devil Summoner: Raidou Kuzunoha vs. the Soulless Army
|sh2= Soul Hackers 2
|p3= Persona 3
|p4= Persona 4
|p5= Persona 5
|p5s= Persona 5 Strikers
|dcld= Devil Children Light Book & Dark Book
|desu= Devil Survivor
|desu2= Devil Survivor 2
}}

Code

Examples


This is the template documentation page for Template:Compendium. It should be transcluded onto the template page.