User:Lariat2301/SandPit: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:


=Studying use of 'template' option in templates=
=Studying use of 'template' option in templates=
 
==Looking at one of [[User:The Rooster]]'s templates==
If <nowiki>{{User:MobilePhoneMastBot/DRDFormat}}</nowiki> is
If <nowiki>{{User:MobilePhoneMastBot/DRDFormat}}</nowiki> is
<pre>
<pre>
Line 27: Line 27:
</pre>
</pre>


==Examining the StatusMap templates==
So, playing with [], which is currently:
So, playing with [], which is currently:
<pre>
<pre>
Line 38: Line 39:
</pre>produces
</pre>produces
{{User:DangerReport/Heckworthy Towers|template=User:Lariat2301/SandBox3}}
{{User:DangerReport/Heckworthy Towers|template=User:Lariat2301/SandBox3}}
==Testing multiple experimental boxes==
Looking for buildings that instantiate each of the colors (skimming the [[Bic#Suburb_Building_Information_Centers|BICs]] in order):
;safe
{{User:DangerReport/Heckworthy Towers}}
;under attack
{{User:DangerReport/St. Wilfrid's Hospital (Barrville)}}
;under siege
{{User:DangerReport/The Dewes Building}}
;ransacked
{{User:DangerReport/Calvert Mall}}
;ruined
{{User:DangerReport/Gerrish Place Police Department}}
;in zombie hands
{{User:DangerReport/The Eagan Building}}
;rebuilding
{{User:DangerReport/The Woolsett Building}}
;rot revive
{{User:DangerReport/The Greatorex Building (Houldenbank)}}
;unknown
{{User:DangerReport/The Nix Building}}


=Studying ifdef and ifndef=
=Studying ifdef and ifndef=

Revision as of 17:14, 11 June 2009

See: Sand Pit, Sand Box, SandBox2 and SandBox3.

Studying use of 'template' option in templates

Looking at one of User:The Rooster's templates

If {{User:MobilePhoneMastBot/DRDFormat}} is

{{{suburb|Havercroft}}};{{{mast_status}}};{{{user}}}##

then

{{User:DangerReport/Heckworthy Towers|template=User:MobilePhoneMastBot/DRDFormat|suburb=Santlerville}}

produces

Santlerville;active;Specialfxlady (talk) 02:25, 3 May 2024 (UTC)##


{{User:DangerReport/Heckworthy Towers}}

produces

Mall-safe-small.jpg

Maltel-active-small.jpg

Heckworthy Towers
"... lights are on in the Heckworty Towers ..."
Specialfxlady (talk) 02:25, 3 May 2024 (UTC)


At this editing, the key portion of [[User:DangerReport/Heckworthy Towers]] is:

|mast_status=unknown
|status=safe
|comment=Powered, and operating a radio.
|user={{User:The_Rooster/Sig}} 15:18, 24 May 2009 (BST)

Examining the StatusMap templates

So, playing with [], which is currently:

{| style="width:7px; height:7px; background:{{StatusMap {{{status|unknown}}}}}" | <!-- Hah! Nothing in the box! -->
|}

In which case

{{User:DangerReport/Heckworthy Towers|template=User:Lariat2301/SandBox3}}

produces


Testing multiple experimental boxes

Looking for buildings that instantiate each of the colors (skimming the BICs in order):

safe

Mall-safe-small.jpg

Maltel-active-small.jpg

Heckworthy Towers
"... lights are on in the Heckworty Towers ..."
Specialfxlady (talk) 02:25, 3 May 2024 (UTC)
under attack

Mall-safe-small.jpg

St. Wilfrid's Hospital
--VVV RPMBG 04:22, 22 April 2024 (UTC)
under siege

Mall-safe-small.jpg

The Dewes Building
--VVV RPMBG 03:09, 5 May 2024 (UTC)
ransacked

Mall-safe-small.jpg

[25,9] - [26,10] (bic) (statuses) (update)
Calvert Mall
"... Calvert Mall is operational ..."
BoogieDinosaur (talk) 16:24, 15 June 2023 (UTC)
ruined

Mall-unknown-small.jpg

Gerrish Place Police Department
Last update January 2022
Zashiya (talk) 20:01, 26 April 2023 (UTC)
in zombie hands

Mall-safe-small.jpg

The Eagan Building
--VVV RPMBG 04:22, 22 April 2024 (UTC)
rebuilding

Mall-safe-small.jpg

The Woolsett Building
--VVV RPMBG 04:21, 22 April 2024 (UTC)
rot revive

Mall-safe-small.jpg

The Greatorex Building
"... lights are on in the Greatorex Building ..."
Zashiya (talk) 17:12, 10 June 2023 (UTC)
unknown

Mall-safe-small.jpg

The Nix Building
--VVV RPMBG 04:22, 22 April 2024 (UTC)


Studying ifdef and ifndef

1: {{{test1Result}}}

2:

ifdef:
1: {{{test1test{{{test1test|}}}|{{{test1Result}}}}}}

ifndef:
2: {{{test2Result{{{test2test|}}}|}}}