Template:Spacepedia entry: Difference between revisions
From Love and Deepspace Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
--><div class="spacepedia-entry"> |
--><div class="spacepedia-entry"> |
||
<div class="spacepedia-entry-header">{{{name|{{PAGENAME}}}}}</div> |
<div class="spacepedia-entry-header">{{#ifeq:{{{isSubEntry|}}} | 1 | {{PAGENAME}} - {{{name|{{PAGENAME}}}}} | {{{name|{{PAGENAME}}}}} }}</div> |
||
{{#ifeq:{{{hasImage|0}}} | 1 | [[File:{{{name|{{PAGENAME}}}}}_Spacepedia_image.png|200px|link=]]<br/> }}<blockquote> |
{{#ifeq:{{{hasImage|0}}} | 1 | [[File:{{{name|{{PAGENAME}}}}}_Spacepedia_image.png|200px|link=]]<br/> }}<blockquote> |
||
{{{description|}}} |
{{{description|}}} |
Revision as of 21:25, 31 January 2024
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.