Shiveapedia
Advertisement
Shiveapedia

Selected Templates and Parser Functions[]

{{Charbox|<...>}}
This template is used for info boxes on character pages. A coverage of the possible parameters is beyond the scope of this page, see Template:Charbox.
{{Comics|<...>}}
{{Comics2|<...>}}
{{Comics2}} is used for info boxes on comic transcript/description pages. A coverage of the required parameters is beyond the scope of this page, see Template:Comics2. {{Comics}} is a mostly-superseded template which is still in common use.
{{EGS-link-slug|<story/sketch/np>|<urlslug>|<YYYY>|<MM>|<DD>|<(title)>}}, works for almost everything
{{EGS-link|<story3/sketch3/np3>|<urlslug>|<YYYY>|<MM>|<DD>|<(title)>}}, older invocation
{{EGS-link-dateid|<story/sketch/np>|<id>|<YYYY>|<MM>|<DD>|<(title)>}}, pre-2018
{{EGS-link|<story2/sketch2/np2>|<id>|<YYYY>|<MM>|<DD>|<(title)>}}, older invocation, pre-2018
{{EGS-link-date|<story/sketch/np>|<YYYY>|<MM>|<DD>|<(title)>}}, sometimes works
{{EGS-link|<story/sketch/np>|<YYYY>|<MM>|<DD>|<(title)>}}, older invocation, sometimes works
{{EGS-link|<YYYY>|<MM>|<DD>|<(title)>}}, for story, sometimes works
{{EGS-link|<bg>|<4digID>|<rescode>|<ext>|<(title)>}}, for legacy backgrounds
This is a family of templates that can be used to link to comic pages (whether in the main comic, in EGS:NP, in the sketchbook, or legacy backgrounds). The title of the comic can also be optionally specified. For details on how to use them, see the template pages, e.g. Template:EGS-link.
{{#formatdate:<date>}}
Given a date in any of the formats used by MediaWiki, usually ISO (YYYY-MM-DD) format, display it in the format selected in a user's preferences. This is one of the built-in MediaWiki parser functions, not dependent on the ParserFunctions module, and should therefore be avilable on any MediaWiki installation, Shiveapedia no exception. For more details, see coverage on the MediaWiki wiki.
{{Nihongo|<english>|<japanese kanji>|<romanised>}}
{{Nihongo|<romanised>|<japanese kanji>|<extra=translation>}}
This template, while not specific to Shiveapedia, is occasionally used with the Japanese names of the Anime-Style martial arts techniques. Example: {{Nihongo|Tamashii Gekido|魂激怒|extra=Soul Fury}} will give the following result: Tamashii Gekido (魂激怒?, Soul Fury). The first ordering is the one documented mostly on the template page, and appropriate if giving the translated term foremost, which is not usually the case with EGS. For further details, see Template:Nihongo

Logic for template construction[]

{{#if:<condition>|<then>|<else>}}
This template allows a template to include one thing or another depending on whether a test string, usually an argument given with {{{1|}}} syntax, is empty. Leading and trailing whitespace is stripped. This is implemented by the ParserFunctions module. For further details, see coverage on the MediaWiki wiki.
{{#ifeq:<string1>|<string2>|<then>|<else>}}
This template allows a template to include one thing or another depending on whether a test string, usually an argument, equals a given string value. Leading and trailing whitespace is stripped. This is implemented by the ParserFunctions module. For further details, see coverage on the MediaWiki wiki.
{{p1|<returned>|<ignored>}} - same as {{ppp|p=1|...}}
{{p2|<ignored>|<returned>}} - same as {{ppp|p=2|...}}
{{ppp|<p=number>|<return value for 1>|<return value for 2>|<...>}}
Select between multiple values using a usually-numerical test string which must have a matching parameter name or index in the template invocation. Values are not whitespace-stripped, unlike in the parser functions above and below. See Template:ppp for details.
{{#switch:<condition>|<case=result>|<...>|<#default=default result>}}
This template allows a template to include one thing or another depending on what string value a test string, usually an argument, equals. Leading and trailing whitespace is stripped. This is implemented by the ParserFunctions module. For further details, see coverage on the MediaWiki wiki.

Comic Transcripts[]

When making a transcript, first use the template {{Transcript}}; this will create a table and give it the correct look. Next, use the Transcript Templates to add lines of dialogue (and, if needed, narration), and finally close the table with |}. If you need to further specify something, such as a character being off screen, or thinking a line rather than saying it, the template {{Directive|DESCRIPTION}} can be used.

Interwiki links[]

To link to Wikia Community Central, use the w: prefix. To link to Wikimedia MetaWiki, use the m: prefix. To link to a Wikia wiki, use w:c:<name>: prefixes (the w:c: syntax is interpreted specially). Other than that, possible interwiki codes (not including the colons) are listed here.

Prefixes can be chained in a manner similar to bang paths, to link to a wiki which is in another wiki's interwiki table, to the extent that this is permitted by the individual wikis' policies (liking to a Wikimedia wiki through another Wikimedia wiki works fine, but not a non-Wikimedia wiki through a Wikimedia wiki). For example, m:w:xkcd is equivalent to wikipedia:xkcd. As this results in the user being redirected through multiple sites, chaining through many sites is discouraged if avoidable: the wikipedia:xkcd form is recommended.

Other important links[]

There is TODO list - list of things which should be done.

General mediawiki help - explaining formating - is on www.mediawiki.org.

Advertisement