- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
Difference between revisions of "User:Sphr/test/test1"
m |
m |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | "Tile Plan w Templates" Test | + | ="Tile Plan w Templates" Test= |
+ | |||
+ | Creating small design plans with semantic tiles. | ||
+ | |||
+ | Mouse over tile shows desc. Some with customized description. | ||
+ | |||
+ | Testing retrieve mason's workshop's tiles via 2d array. | ||
{| | {| | ||
Line 21: | Line 27: | ||
|- row 1 | |- row 1 | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|hidden}} | | {{:User:Sphr/t/TT|hidden}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
|- row 2 | |- row 2 | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TTD|workshop_mason/|r=2|c=2|desc=Mason's Workshop #1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|hidden}} | | {{:User:Sphr/t/TT|hidden}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TTD|workshop_mason/|r=2|c=2|desc=Mason's Workshop #2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
|- row 3 | |- row 3 | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|hidden}} | | {{:User:Sphr/t/TT|hidden}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
|- row 4 | |- row 4 | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TTD|door|desc=A special door with description!}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
Line 93: | Line 99: | ||
|- row 7 | |- row 7 | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|hidden}} | | {{:User:Sphr/t/TT|hidden}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=1|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
|- row 8 | |- row 8 | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TTD|workshop_mason/|r=2|c=2|desc=Mason's Workshop #3}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|hidden}} | | {{:User:Sphr/t/TT|hidden}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TTD|workshop_mason/|r=2|c=2|desc=Mason's Workshop #4}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=2|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
|- row 9 | |- row 9 | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
| {{:User:Sphr/t/TT|hidden}} | | {{:User:Sphr/t/TT|hidden}} | ||
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=1}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=2}} |
− | | {{:User:Sphr/t/ | + | | {{:User:Sphr/t/TT|workshop_mason/|r=3|c=3}} |
| {{:User:Sphr/t/TT|rwall}} | | {{:User:Sphr/t/TT|rwall}} | ||
|- row 10 | |- row 10 | ||
Line 291: | Line 297: | ||
− | + | Non table version (easy to copy and paste as text e.g. to forum) | |
− | + | <!-- To make the inline text seamless, have to dump everything in one line without white spaces in between template calls--> | |
− | + | <div> | |
− | + | {{:User:Sphr/t/wallse}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/door}}{{:User:Sphr/t/wallsew}}{{:User:Sphr/t/door}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallsw}}<br/>{{:User:Sphr/t/wallns}}{{:User:Sphr/t/zone}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/wallns}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/zone}}{{:User:Sphr/t/wallns}}<br/>{{:User:Sphr/t/wallns}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/wallns}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/wallns}}<br/>{{:User:Sphr/t/door}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/door}}{{:User:Sphr/t/wallnew}}{{:User:Sphr/t/door}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/door}}<br/>{{:User:Sphr/t/wallnse}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallnsw}}{{:User:Sphr/t/stairsup}}{{:User:Sphr/t/wallnse}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallnsw}}<br/>{{:User:Sphr/t/door}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/door}}{{:User:Sphr/t/wallsew}}{{:User:Sphr/t/door}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/door}}<br/>{{:User:Sphr/t/wallns}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/wallns}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/wallns}}<br/>{{:User:Sphr/t/wallns}}{{:User:Sphr/t/zone}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/wallns}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/stockpile}}{{:User:Sphr/t/zone}}{{:User:Sphr/t/wallns}}<br/>{{:User:Sphr/t/wallne}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/door}}{{:User:Sphr/t/wallnew}}{{:User:Sphr/t/door}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallew}}{{:User:Sphr/t/wallnw}} | |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | For the following, top-left mason's workshop (center tile) has a customized link to the mason's workshop wikipage. Potentially, all tiles can be default linked to their related wiki page. In addition user can specify customized links to redirect them to some other wiki page or some anchor bookmark on the same page (e.g. related notes on the design). Due to limitation of current template coding, only dwarfwiki-pages/anchors are supported. | |
− | + | ||
− | + | <div> | |
− | + | {{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=1|c=1}}{{:User:Sphr/t/workshop_mason/|r=1|c=2}}{{:User:Sphr/t/workshop_mason/|r=1|c=3}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=1|c=1}}{{:User:Sphr/t/workshop_mason/|r=1|c=2}}{{:User:Sphr/t/workshop_mason/|r=1|c=3}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=2|c=1}}{{:User:Sphr/t/workshop_mason/|r=2|c=2|desc=Mason's Workshop #1|link=Mason's workshop}}{{:User:Sphr/t/workshop_mason/|r=2|c=3}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=2|c=1}}{{:User:Sphr/t/workshop_mason/|r=2|c=2|desc=Mason's Workshop #2}}{{:User:Sphr/t/workshop_mason/|r=2|c=3}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=3|c=1}}{{:User:Sphr/t/workshop_mason/|r=3|c=2}}{{:User:Sphr/t/workshop_mason/|r=3|c=3}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=3|c=1}}{{:User:Sphr/t/workshop_mason/|r=3|c=2}}{{:User:Sphr/t/workshop_mason/|r=3|c=3}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/door|desc=A special door with description!}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/door}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/space}}{{:User:Sphr/t/space}}{{:User:Sphr/t/space}}{{:User:Sphr/t/space}}{{:User:Sphr/t/stairsdn}}{{:User:Sphr/t/space}}{{:User:Sphr/t/space}}{{:User:Sphr/t/space}}{{:User:Sphr/t/space}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/door}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/door}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=1|c=1}}{{:User:Sphr/t/workshop_mason/|r=1|c=2}}{{:User:Sphr/t/workshop_mason/|r=1|c=3}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=1|c=1}}{{:User:Sphr/t/workshop_mason/|r=1|c=2}}{{:User:Sphr/t/workshop_mason/|r=1|c=3}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=2|c=1}}{{:User:Sphr/t/workshop_mason/|r=2|c=2|desc=Mason's Workshop #3}}{{:User:Sphr/t/workshop_mason/|r=2|c=3}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=2|c=1}}{{:User:Sphr/t/workshop_mason/|r=2|c=2|desc=Mason's Workshop #4}}{{:User:Sphr/t/workshop_mason/|r=2|c=3}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=3|c=1}}{{:User:Sphr/t/workshop_mason/|r=3|c=2}}{{:User:Sphr/t/workshop_mason/|r=3|c=3}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/workshop_mason/|r=3|c=1}}{{:User:Sphr/t/workshop_mason/|r=3|c=2}}{{:User:Sphr/t/workshop_mason/|r=3|c=3}}{{:User:Sphr/t/rwall}}<br/> {{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/hidden}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}{{:User:Sphr/t/rwall}}<br/> | |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | The following key is also stored by a template. It shows all currently available tiles. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{:User:Sphr/t/key}} | {{:User:Sphr/t/key}} |
Latest revision as of 04:34, 16 January 2008
"Tile Plan w Templates" Test[edit]
Creating small design plans with semantic tiles.
Mouse over tile shows desc. Some with customized description.
Testing retrieve mason's workshop's tiles via 2d array.
Level z=1: mason workshop level
|
level z-1: mason workshop level |
Level z=0: stone storage level
|
For storing stones. |
Non table version (easy to copy and paste as text e.g. to forum)
For the following, top-left mason's workshop (center tile) has a customized link to the mason's workshop wikipage. Potentially, all tiles can be default linked to their related wiki page. In addition user can specify customized links to redirect them to some other wiki page or some anchor bookmark on the same page (e.g. related notes on the design). Due to limitation of current template coding, only dwarfwiki-pages/anchors are supported.
█
█
█
█
█
█
█
█
█
█
█
¡
.
░
█
█
¡
.
░
█
█
░
[
░
█
█
░
[
░
█
█
.
o
.
█
█
.
o
.
█
█
█
┼
█
█
█
█
█
┼
█
█
█
.
.
.
.
>
.
.
.
.
█
█
█
┼
█
█
█
█
█
┼
█
█
█
¡
.
░
█
█
¡
.
░
█
█
░
[
░
█
█
░
[
░
█
█
.
o
.
█
█
.
o
.
█
█
█
█
█
█
█
█
█
█
█
The following key is also stored by a template. It shows all currently available tiles.
key | |
|
hidden |
. |
space |
█ |
wall |
┼ |
door |
= |
stockpile |
≡ |
zone |
< |
stairs up |
> |
stairs down |
X |
stairs up/down |
ò |
lever (off) |
ó |
lever (on) |
smoothed walls | |
Mason's Workshop | |
Ballista (facing west) |