Template:Compendium/Documentation: Difference between revisions

Jump to navigation Jump to search
No edit summary
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. 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.
This template is to be used in the <code><nowiki>==Compendium==</nowiki></code> section on demon pages. 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.
 
Game parameters in the template should be omitted if a demon does not appear in that game or has no compendium entry in that. If a demon has no compendium entries whatsoever, the Compendium section should be omitted.


<pre>{{Compendium
<pre>{{Compendium
|smt1= Shin Megami Tensei
|smt1= Shin Megami Tensei (GBA and iOS versions)
|smt3= Shin Megami Tensei III: Nocturne
|smt3= Shin Megami Tensei III: Nocturne
|smtsj= Shin Megami Tensei: Strange Journey
|smtsj= Shin Megami Tensei: Strange Journey
Line 27: Line 29:


===Code===
===Code===
'''All supported games'''
<pre>{{Compendium
|smt1=
|smt3=
|smtsj=
|smt4=
|smt4a=
|smt5=
|smti=
|dx2=
|sh=
|dsrk=
|sh2=
|p3=
|p4=
|p5=
|p5s=
|dcld=
|desu=
|desu2=
}}</pre>
===Examples===
===Examples===
{{Documentation Footer}}
{{Documentation Footer}}

Revision as of 19:57, 22 July 2023

Purpose

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

Usage

This template is to be used in the ==Compendium== section on demon pages. 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.

Game parameters in the template should be omitted if a demon does not appear in that game or has no compendium entry in that. If a demon has no compendium entries whatsoever, the Compendium section should be omitted.

{{Compendium
|smt1= Shin Megami Tensei (GBA and iOS versions)
|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

All supported games

{{Compendium
|smt1=
|smt3=
|smtsj=
|smt4=
|smt4a=
|smt5=
|smti=
|dx2=
|sh=
|dsrk=
|sh2=
|p3=
|p4=
|p5=
|p5s=
|dcld=
|desu=
|desu2=
}}

Examples


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