Editing Template:Phone history
From Tears of Themis Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
-->{{#cargo_declare:_table=PhoneHistory | -->{{#cargo_declare:_table=PhoneHistory | ||
|name=String | |name=String | ||
|icon= | |icon=String | ||
|historyType=String | |historyType=String | ||
|contact=String | |contact=String | ||
| | |unlock1=String | ||
|unlock2=Wikitext | |||
|script=Wikitext | |||
}}</noinclude><includeonly><!-- | }}</noinclude><includeonly><!-- | ||
### Cargo Store | ### Cargo Store | ||
--> | -->{{#cargo_store:_table=PhoneHistory | ||
|name={{{name|{{ROOTPAGENAME}}}}} | |name={{{name|{{ROOTPAGENAME}}}}} | ||
|icon={{{icon|{{#ifeq:{{{historyType|}}}|Video Call|{{{name|{{ROOTPAGENAME}}}}} phone icon.png}}}}} | |icon={{{icon|{{#ifeq:{{{historyType|}}}|Video Call|{{{name|{{ROOTPAGENAME}}}}} phone icon.png}}}}} | ||
|historyType={{{historyType|}}} | |historyType={{{historyType|}}} | ||
|contact={{{contact|}}} | |contact={{{contact|}}} | ||
| | |unlock1={{ROOTPAGENAME}} | ||
|unlock2={{{unlock|}}} | |||
|script={{{script|}}} | |||
}}<!-- | |||
### Template Display | ### Template Display | ||
-->{| | -->{{Script | ||
|scriptHeader={{{historyType|}}}: {{{name|}}}{{#if:{{{unlock|}}}| ({{{unlock|}}})}} | |||
| | |characterLinks=You!Main Character,{{#switch:{{{contact|}}}|Artem=Artem!Artem Wing|Luke=Luke!Luke Pearce|Marius=Marius!Marius von Hagen|Vyn=Vyn!Vyn Richter|Group=Artem!Artem Wing,Luke!Luke Pearce,Marius!Marius von Hagen, Vyn!Vyn Richter}} | ||
|script={{#ifeq:{{{historyType|}}}|Video Call|[[File:{{{icon|{{{name|{{ROOTPAGENAME}}}}} phone icon.png}}}|right]]}} | |||
{{{script|}}} | |||
}} |