Template:Visit BG: Difference between revisions
From Tears of Themis Wiki
imported>Harmonea mNo edit summary |
imported>Harmonea (adding icon field for cleaner display in an icon template) |
||
Line 5: | Line 5: | ||
-->{{#cargo_declare:_table=VisitBackground | -->{{#cargo_declare:_table=VisitBackground | ||
|name=String | |name=String | ||
|icon=String | |||
|image=String | |image=String | ||
|description=Wikitext | |description=Wikitext | ||
Line 15: | Line 16: | ||
-->{{#cargo_store:_table=VisitBackground | -->{{#cargo_store:_table=VisitBackground | ||
|name={{{name|}}} | |name={{{name|}}} | ||
|image={{{icon|{{{name|}}} icon.png}}} | |||
|image={{{image|{{{name|}}} preview.png}}} | |image={{{image|{{{name|}}} preview.png}}} | ||
|description={{{description|}}} | |description={{{description|}}} | ||
Line 23: | Line 25: | ||
### Template Content | ### Template Content | ||
--><includeonly><templatestyles src="Notable/styles.css" /><div class="notable" style="flex-direction:row"><span class="notable-header" style="flex-shrink:0">[[File:{{{image|{{{name|}}} preview.png}}}|170px]]</span><span class="notable-content" style="border-left:none; border-top: 1px solid rgb(170, 170, 170); flex: 100%"><p style="text-align:center">'''{{{name|}}}'''</p><p>{{{description|}}}</p><p>Can be applied to:<br />{{{characters|}}}</p><p>Released:<br />{{{releaseDate|}}}</p></span></div></includeonly> | --><includeonly><templatestyles src="Notable/styles.css" /><div class="notable" style="flex-direction:row"><span class="notable-header" style="flex-shrink:0">[[File:{{{image|{{{name|}}} preview.png}}}|170px]]</span><span class="notable-content" style="border-left:none; border-top: 1px solid rgb(170, 170, 170); flex: 100%"><p style="text-align:center">[[File:{{{icon|{{{name|}}} icon.png}}}|28px|link=]] '''{{{name|}}}'''</p><p>{{{description|}}}</p><p>Can be applied to:<br />{{{characters|}}}</p><p>Released:<br />{{{releaseDate|}}}</p></span></div></includeonly> |
Revision as of 20:13, 30 April 2022
Description
Template used on Visit Invitation Backgrounds
Usage
{{Visit BG |name= |description= |characters= |releaseDate= }}
Parameters
name
- Name of the Visit Backgrounddescription
- In-game description of the Visit Backgroundcharacters
- Characters with whom this Visit Background may be usedreleaseDate
- The exact time the Visit Background was released (UTC+9 timezone) in YYYY-MM-DD HH:mm:ss format.
The above documentation is transcluded from Template:Visit BG/doc. (edit | history)