Template:Stage: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
mNo edit summary
No edit summary
Line 4: Line 4:


-->{{#cargo_declare:_table=Stage
-->{{#cargo_declare:_table=Stage
|name=String
|gameMode=String
|stageType=String
|stageCategory=String
|stageName=String
|stageName=String
|stageType=String
|storyName=String
|storyChapter=Integer
|stageNumber=Integer
|previous=String
|previous=String
|next=String
|next=String
|summary=Wikitext (size=1000)
|summary=Wikitext (size=1000)
|specialBattleType=String
|recommendedLevel=String
|recommendedLevel=String
|stellactrum1=String
|stellactrum1=String
Line 27: Line 30:
|wanderer2=String
|wanderer2=String
|wanderer3=String
|wanderer3=String
}}</noinclude>
}}</noinclude><includeonly><!--

-->{{#cargo_store:_table=Stage
|gameMode={{{gameMode|}}}
|stageName={{{stageName|}}}
|stageType={{{stageType|}}}
|storyName={{{storyName|}}}
|storyChapter={{{storyChapter|}}}
|stageNumber={{{stageNumber|}}}
|previous={{{previous|}}}
|next={{{next|}}}
|summary={{{summary|}}}
|specialBattleType={{{specialBattleType|}}}
|recommendedLevel={{{recommendedLevel|}}}
|stellactrum1={{{stellactrum1|}}}
|stellactrum2={{{stellactrum2|}}}
|stellactrum3={{{stellactrum3|}}}
|stellactrum4={{[stellactrum4|}}}
|stellactrum5={{{stellactrum5|}}}
|stellactrum6={{{stellactrum6|}}}
|firstClearReward={{{firstClearReward|}}}
|threeStarPass1={{{threeStarPass1|}}}
|threeStarPass2={{{threeStarPass2|}}}
|threeStarPass3={{{threeStarPass3|}}}
|threeStarClearReward={{{threeStarClearReward|}}}
|drops={{{drops|}}}
|wanderer1={{{wanderer1|}}}
|wanderer2={{{wanderer2|}}}
|wanderer3={{{wanderer3|}}}
}}<!--

--><templatestyles src="Template:Stage/styles.css" /><!--

-->{{#ifeq:{{{stageType|}}} | Story | <nowiki/>
{{Stage/Story infobox
|gameMode={{{gameMode|}}}
|stageName={{{stageName|}}}
|stageType={{{stageType|}}}
|storyName={{{storyName|}}}
|previous={{{previous|}}}
|next={{{next|}}}
}}

'''{{PAGENAME}}''' {{#if:{{{storyName|}}} | ({{{storyName|}}}) }} is a {{{gameMode|}}} - {{{stageType|}}} stage in ''{{Gamename}}''.

==Summary==
{{{summary|}}}

==Video==
{{#if: {{{video|}}} | {{{video|}}} | There is currently no video available. If you have a YouTube video available, you can add it through the following steps:
* [{{fullurl:{{PAGENAME}}|action=edit}} Click here to edit this page.]
* Find the text <code><nowiki>|video=</nowiki></code>. If it is not there, add it before the <code><nowiki>}}</nowiki></code>.
* Add the following right after: <code><nowiki><youtube>link to youtube video</youtube></nowiki></code>
:* Example: <code><nowiki>|video=<youtube>https://www.youtube.com/watch?v=urONohYpdVA</youtube></nowiki></code> }}

==Script==
:''To edit the script, go to the script subpage: [[{{PAGENAME}}/script]]''
{{/script}}

[[Category:Story stages]]
| <nowiki/>
{{Stage/Battle infobox
|gameMode={{{gameMode|}}}
|stageName={{{stageName|}}}
|stageType={{{stageType|}}}
|storyName={{{storyName|}}}
|previous={{{previous|}}}
|next={{{next|}}}
|summary={{{summary|}}}
|specialBattleType={{{specialBattleType|}}}
|recommendedLevel={{{recommendedLevel|}}}
|stellactrum1={{{stellactrum1|}}}
|stellactrum2={{{stellactrum2|}}}
|stellactrum3={{{stellactrum3|}}}
|stellactrum4={{[stellactrum4|}}}
|stellactrum5={{{stellactrum5|}}}
|stellactrum6={{{stellactrum6|}}}
|firstClearReward={{{firstClearReward|}}}
|threeStarPass1={{{threeStarPass1|}}}
|threeStarPass2={{{threeStarPass2|}}}
|threeStarPass3={{{threeStarPass3|}}}
|threeStarClearReward={{{threeStarClearReward|}}}
|drops={{{drops|}}}
}}

'''{{PAGENAME}}''' {{#if:{{{storyName|}}} | ({{{storyName|}}}) }} is a {{{gameMode|}}} - {{{stageType|}}} stage in ''{{Gamename}}''.

==Wanderers==
<div class="grid-4-card-container">
{{#invoke:CargoQuery|main
|q?tables=Wanderer
|q?fields=_pageName=name,description=description,battleGuide=battleGuide,wandererFeature1=wandererFeature1,wandererFeature2=wandererFeature2,wandererFeature3=wandererFeature3,wandererFeature4=wandererFeature4,wandererFeature5=wandererFeature5,CONCAT('1')=displayOnly
|q?where=_pageName="{{{wanderer1|}}}" OR _pageName="{{{wanderer2|}}}" OR _pageName="{{{wanderer3|}}}"
|q?orderBy=name ASC
|template=Wanderer
}}
</div>
{{#if:{{{stageTips|}}} | <nowiki/>
==Stage Tips==
{{{stageTips|}}}
}}
[[Category:Battle stages]]
}}

[[Category:Stages]][[Category:{{{gameMode|}}} stages]]
</includeonly>

Revision as of 00:33, 2 March 2024

Documentation

Description

Template used for stage pages

Usage

Story Stages

{{Stage
|gameMode=
|stageName=
|stageType=
|storyName=
|storyChapter=
|stageNumber=
|previous=
|next=
|summary=
}}

Example

{{Stage
|gameMode=Main Story
|stageName=Main Story 1-0
|stageType=Story
|storyName=Singularity Echo
|storyChapter=1
|stageNumber=0
|previous=
|next=Main Story 1-1
|summary=
}}

Battle Stages

{{Stage
|gameMode=
|stageName=
|stageType=
|storyName=
|storyChapter=
|stageNumber=
|previous=
|next=
|summary=
|specialBattleType=
|teamRestrictions=
|fieldFluctuationWarning=
|recommendedLevel=
|stellactrum1=
|stellactrum2=
|stellactrum3=
|stellactrum4=
|stellactrum5=
|stellactrum6=
|firstClearReward=
|threeStarPass1=
|threeStarPass2=
|threeStarPass3=
|threeStarClearReward=
|drops=
|wandererLevel=
|wanderer1=
|wanderer2=
|wanderer3=
|stageTips=
}}

Example

This template defines the table "Stage". View table.