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 | ||
Line 13: | Line 13: | ||
### 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}}}}} | ||
Line 20: | Line 19: | ||
|contact={{{contact|}}} | |contact={{{contact|}}} | ||
|unlockCondition={{ROOTPAGENAME}} {{#if:{{{unlock|}}}|({{{unlock|}}})}} | |unlockCondition={{ROOTPAGENAME}} {{#if:{{{unlock|}}}|({{{unlock|}}})}} | ||
}}<!-- | |||
### Template Display | ### Template Display | ||
-->{|class="wikitable | -->{|class="wikitable" id="PhoneItem_{{{name|{{ROOTPAGENAME}}}}}" | ||
|- | |||
!style="background: #c0c0c0" width="60px"|[[File:Phone {{lc:{{{historyType|}}}}} icon.png|50px|link=Phone#{{{historyType|}}}s]]<br />{{{historyType|}}} | !style="background: #c0c0c0" width="60px"|[[File:Phone {{lc:{{{historyType|}}}}} icon.png|50px|link=Phone#{{{historyType|}}}s]]<br />{{{historyType|}}} | ||
|style="border-right:0px; {{#ifeq:{{{historyType|}}}|Video Call| |display:none}}"|{{#ifeq:{{{historyType|}}}|Video Call|[[File:{{{icon|{{{name|{{ROOTPAGENAME}}}}} phone icon.png}}}|100px]]}} | |style="border-right:0px; {{#ifeq:{{{historyType|}}}|Video Call| |display:none}}"|{{#ifeq:{{{historyType|}}}|Video Call|[[File:{{{icon|{{{name|{{ROOTPAGENAME}}}}} phone icon.png}}}|100px]]}} | ||
|style="border-left:0px; padding-right: | |style="border-left:0px; padding-right:20px"|{{#switch:{{{contact|}}}|Group=NXX Group Chat|#default={{{contact|}}}}}:<br/>{{{name|{{ROOTPAGENAME}}}}} | ||
{{#if:{{{unlock|}}}|:''({{{unlock|}}})''}} | {{#if:{{{unlock|}}}|:''({{{unlock|}}})''}} | ||
|} | |} |