Template:Spacepedia entry: Difference between revisions

From Love and Deepspace Wiki
Content deleted Content added
mNo edit summary
No edit summary
Line 21: Line 21:
### Template Display
### Template Display


-->{{#ifeq:{{{hasImage|0}}} | 1 | [[File:{{{name|{{PAGENAME}}}}}_Spacepedia_image.png|200px|link=]]<br/> }}<blockquote>
--><div class="spacepedia-entry">{{#ifeq:{{{hasImage|0}}} | 1 | [[File:{{{name|{{PAGENAME}}}}}_Spacepedia_image.png|200px|link=]]<br/> }}<blockquote>
{{{description|}}}
{{{description|}}}
</blockquote></includeonly>
</blockquote>
</div></includeonly>

Revision as of 18:41, 31 January 2024

Documentation

Description

This is a template used for creating Spacepedia entries.

Spacepedia subentries should ideally be on the page of their parent entry. For example, Stellactrum's entry should be on the Protofield page.

Usage

{{Spacepedia entry
|category=
|name=
|isSubEntry= <!-- Specify 1 if this is a sub-entry, otherwise put 0 or remove the field -->
|hasImage= <!-- Specify 1 if the entry has an associated image, otherwise put 0 or remove the field -->
|obtain=
|description=
}}

This template defines the table "SpacepediaEntry". This table has not been created yet.