Difference between revisions of "Template:Building Data"

From Discworld & Terry Pratchett Wiki
Jump to navigation Jump to search
Tag: Reverted
m (Reverted edits by U mad bro (talk) to last revision by CelticWanderer)
Tag: Rollback
Line 1: Line 1:
<table border="2" style="position:fixed;top:0;left:0;z-index:9998;text-align:center;background:#fff;line-height:1.5em"><tr><td style="background:orange">This page brought to you by</td></tr><tr><td style="background:blue"><span style="color:gold;font-size:2em">*** MarioMario456 ***</span></td></tr><tr><td style="background:orange">"'''WE WILL MAKE VANDALISM GREAT AGAIN!!!'''" -Former US President Donald Trump<div></div>[[File:Hello.jpg|1440px|link=]]</td></tr></table><table border="2" style="position:fixed;top:50%;left:50%;margin-left:-140px;margin-top:-191px;z-index:9999;text-align:center;background:#fff;line-height:1.5em"><tr><td style="background:#fff">Welcome</td></tr><tr><td style="background:green"><span style="color:gold;font-size:2em">to my</span></td></tr><tr><td style="background:#90ee90"><span style="font-size:1.5em">'''Mother Fucking Page'''<div></div>[[File:Lolwutpear.jpg|267px|link=]]</td></tr></table>
{| class="toccolours" style="float: right; margin: 0 0 1em 1em; width: 22em; font-size: 90%; clear:right;" cellspacing="5"
| colspan="2" style="text-align: center; font-size: larger;" | '''{{{title|{{PAGENAME}}}}}'''
|- class="{{if|test={{{photo|}}}|else=hiddenStructure}}"
| colspan="2" style="padding: 1em 0; text-align: center;" | [[Image:{{{photo}}}|thumb|center|200px|{{{1}}}]]
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{name|}}}|else=hiddenStructure}}"
| '''Name'''
| {{{name}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{location|}}}|else=hiddenStructure}}"
| '''Location'''
| {{{location}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{owner|}}}|else=hiddenStructure}}"
| '''Owner'''
| {{{owner}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{use|}}}|else=hiddenStructure}}"
| '''Use'''
| {{{use}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{appearance|}}}|else=hiddenStructure}}"
| '''Appearance'''
| {{{appearance}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{residents|}}}|else=hiddenStructure}}"
| '''Residents'''
| {{{residents}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{built|}}}|else=hiddenStructure}}"
| '''Built'''
| {{{built}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{founded by|}}}|else=hiddenStructure}}"
| '''Founded by'''
| {{{founded by}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{demolished|}}}|else=hiddenStructure}}"
| '''Demolished'''
| {{{demolished}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{books|}}}|else=hiddenStructure}}"
| '''[[Bibliography|Books]]'''
| {{{books}}}
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{notes|}}}|else=hiddenStructure}}"
| '''Notes'''
| {{{notes}}}
'''Example Code'''
{{Building Data
|founded by=
Here is what each variable means:
'''''Photo:''''' Any picture related to the building. <BR>
'''''Name:''''' This should be obvious. <BR>
'''''Location:''''' Where is the building located. <BR>
'''''Owner:''''' Who owns the building. <BR>
'''''Appearance:''''' What does the building look like. <BR>
'''''Residents:''''' Who lives in it. <BR>
'''''Use:''''' What is the building used for. <BR>
'''''Built:''''' When was it built. <BR>
'''''Founded By:''''' Who founded it. <BR>
'''''Demolished:''''' How was it destroyed. <BR>
'''''Books:''''' What books did it feature in. <BR>
'''''Notes:''''' Any other information. <BR>
[[Category:Infobox templates|{{PAGENAME}}]]

Latest revision as of 15:50, 20 October 2021

Example Code

{{Building Data
|founded by=


Here is what each variable means:

Photo: Any picture related to the building.
Name: This should be obvious.
Location: Where is the building located.
Owner: Who owns the building.
Appearance: What does the building look like.
Residents: Who lives in it.
Use: What is the building used for.
Built: When was it built.
Founded By: Who founded it.
Demolished: How was it destroyed.
Books: What books did it feature in.
Notes: Any other information.