Template:Event/TechInfoCard: Difference between revisions

(Created page with "<onlyinclude>{| class="wikitable" style="top: 0;" |+ {{PAGENAME}} |- ! colspan=2 | Event Names |- | Default Event Name || {{PAGENAME}} |- | Missed Event Name || {{#if: {{{miss...")
 
mNo edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Delete}}
<onlyinclude>{| class="wikitable" style="top: 0;"
<onlyinclude>{| class="wikitable" style="top: 0;"
|+ {{PAGENAME}}
|+ {{PAGENAME}}
Line 6: Line 7:
| Default Event Name || {{PAGENAME}}
| Default Event Name || {{PAGENAME}}
|-
|-
| Missed Event Name || {{#if: {{{missed_name|}}}|{{{MissedEvent|}}}|''Not Missable''}}
| Missed Event Name || {{#if: {{{missed_name|}}}|{{{missed_name}}}|''Not Missable''}}
|-
|-
! colspan=2 | Technical Information
! colspan=2 | Technical Information
|-
|-
| Location || {{#if: {{{location|}}}|{{{location|}}}|''Undefined''}}
| Location || {{#if: {{{location|}}}|{{{location|}}}|{{Text/Unknown}}}}
|-
|-
| Internal Event Name || {{#if: {{{internal_name|}}}|{{{internal_name|}}}|''Citation Needed''}}
| Internal Event Name || {{#if: {{{internal_name|}}}|{{{internal_name|}}}|{{Text/Unknown}}}}
|-
|-
| Filesystem Headings || {{#if: {{{render_name|}}}|{{{render_name|}}}|''Citation Needed''}}
| Filesystem Headings || {{#if: {{{render_name|}}}|{{{render_name|}}}|{{Text/Unknown}}}}
|-
|-
| Event Music Tracks || {{#if: {{{music|}}}|{{{music|}}}|''No Music Present in Event''}}
| Event Music Tracks || {{#if: {{{music|}}}|{{{music|}}}|{{Text/Unknown}}}}
|- {{#if: {{{repeatable|}}} || style="display: none;" }}
| Repeatable Event w/o PC? || {{#if: {{{repeatable|}}}|{{{repeatable|}}}|{{Text/Not Repeatable}}}}
|-
|-
| Repeatable Event w/o PC? || {{#if: {{{repeatable|}}}|{{{repeatable|}}}|''Not Repeatable''}}
| Added in Version || {{#if: {{{version_added|}}}|{{{version_added|}}}|{{Text/Unknown}}}}
|-
| Added in Version || {{#if: {{{version_added|}}}|{{{version_added|}}}|''Citation Needed''}}
|- {{#if: {{{version_removed|}}} || style="display: none;" }}
|- {{#if: {{{version_removed|}}} || style="display: none;" }}
| Removed in Version || {{#if: {{{version_removed|}}}|{{{version_removed|}}}|''Citation Needed''}}
| Removed in Version || {{#if: {{{version_removed|}}}|{{{version_removed|}}}|{{Text/Unknown}}}}
|- {{#if: {{{revision|}}} || style="display: none;"
|- {{#if: {{{revision|}}} || style="display: none;"
| Latest Revision in Version || {{#if: {{{revision|}}}|{{{revision|}}}|''Citation Needed''}}
| Latest Revision in Version || {{#if: {{{revision|}}}|{{{revision|}}}|{{Text/Unknown}}}}
|}</onlyinclude><!--
|}</onlyinclude><!--
-->
-->
== Recommendations ==
It is highly recommended to obtain at least a base-level knowledge of Ren'Py and HTML/CSS before messing with templates, stylesheets, or the game files in any way. Talk to an Admin or frequent contributor for help in understanding or to obtain additional resources.
To avoid bloating the code, there is some added flexibility where the calls that aren't needed don't have to be referenced when including the template in a page, so those can simply be deleted.
== Usage ==
// indicates a comment on the usage in the template. For easiest use, it's a good rule-of-thumb to read the comments for useful info on the template.
* All fill-ins can be bulletized in case a field requires multiple items to fill in (which will happen in most cases). Simply add the asterisk and a space before each item and separate them with a normal line break (Enter/Return).
<syntaxhighlight lang="html">
{{Event/TechInfoCard
  | missed_name =  //Syntax will automatically assign the proper text formatting to anything following this tag in the preview.
  | location =
  | internal_name =  //This will be the name of the Event as highlighted in the RPY script files. Requires base-level knowledge of Ren'Py. Talk to an Admin or frequent contributor if you have trouble understanding this.
  | render_name =  //This will be the name heading (NOT the numbers after) of the Event images in the Events image folder. For CENSORED Events, do not put image names belonging to anything in "inappropriatecontent" in this field. Requires base-level knowledge of Ren'Py and the usage of the internal_name flag, talk to an Admin or frequent contributor if you have trouble understanding this.
  | music =  //Requires base-level knowledge of Ren'Py.
  | repeatable =  //This will generally not be needed, and can safely be ignored, but a small number of Events can be repeated without using the PC, in which case simply put "Yes".
  | version_added =
  | version_removed =  //ONLY if the Event was removed in an Update. If this is needed, you must also link the Event that is added in its place, if applicable.
  | revision =  //ONLY if a change has been made to the Event in a future Update.
}}
</syntaxhighlight>

Latest revision as of 18:11, 6 April 2024

Event/TechInfoCard
Event Names
Default Event Name Event/TechInfoCard
Missed Event Name Not Missable
Technical Information
Location Unknown
Internal Event Name Unknown
Filesystem Headings Unknown
Event Music Tracks Unknown
Repeatable Event w/o PC? Not Repeatable
Added in Version Unknown
Removed in Version Unknown
Latest Revision in Version Unknown

Recommendations

It is highly recommended to obtain at least a base-level knowledge of Ren'Py and HTML/CSS before messing with templates, stylesheets, or the game files in any way. Talk to an Admin or frequent contributor for help in understanding or to obtain additional resources.

To avoid bloating the code, there is some added flexibility where the calls that aren't needed don't have to be referenced when including the template in a page, so those can simply be deleted.

Usage

// indicates a comment on the usage in the template. For easiest use, it's a good rule-of-thumb to read the comments for useful info on the template.

  • All fill-ins can be bulletized in case a field requires multiple items to fill in (which will happen in most cases). Simply add the asterisk and a space before each item and separate them with a normal line break (Enter/Return).
{{Event/TechInfoCard
  | missed_name =  //Syntax will automatically assign the proper text formatting to anything following this tag in the preview.
  | location =
  | internal_name =  //This will be the name of the Event as highlighted in the RPY script files. Requires base-level knowledge of Ren'Py. Talk to an Admin or frequent contributor if you have trouble understanding this.
  | render_name =  //This will be the name heading (NOT the numbers after) of the Event images in the Events image folder. For CENSORED Events, do not put image names belonging to anything in "inappropriatecontent" in this field. Requires base-level knowledge of Ren'Py and the usage of the internal_name flag, talk to an Admin or frequent contributor if you have trouble understanding this.
  | music =  //Requires base-level knowledge of Ren'Py.
  | repeatable =  //This will generally not be needed, and can safely be ignored, but a small number of Events can be repeated without using the PC, in which case simply put "Yes".
  | version_added = 
  | version_removed =  //ONLY if the Event was removed in an Update. If this is needed, you must also link the Event that is added in its place, if applicable.
  | revision =  //ONLY if a change has been made to the Event in a future Update.
}}