The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Amisibastet/temp"

From A Tale in the Desert
Jump to navigationJump to search
m (yea ok i don't know what i was thinking, this definately needs t calling t)
m
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
fume=1
+
links i might want to read up on if i get back around to working on things like this
advanced animal husbandry=1
+
*http://en.wikipedia.org/wiki/Template:Navbox#Style_parameters
advanced blacksmithing=1
+
=Usage=
advanced glassblowing=1
+
This template will generate a table row. I'm not sure how useful that sounds at the moment, but I'm willing to go with that idea for a bit.<br>
advanced metallurgy=2
+
How neat, I *can* pass a template in a variable. Now... how to use this awsome power... muhahhahaha! mmm it'd be tastier with a loop...... back to the researching/studying!
agriculture=1
+
 
animal husbandry=1
+
sigh i should just leave links here for where to find the info i'm finding useful, it's not like I don't refer back to it more often than i'd like
aromatics=1
+
 
avian selection=1
+
http://semantic-mediawiki.org/wiki/Semantic_MediaWiki
barley cultivation=1
+
 
basic charcoal production=1
+
http://semantic-mediawiki.org/wiki/Help:Selecting_pages
basic chemistry=1
+
 
beekeeping=1
+
Anyway
beer brewing=1
+
 
blacksmithing=1
+
here's a thought for making this somewhat useful
botanical identification=1
+
 
brick rack construction=1
+
I was thinking of the alternating background deal
carpentry=1
+
 
carving=4
+
which can become convoluted
casting=1
+
 
chariot repair=1
+
so, I'd need an even or an odd for which background color goes first
clothwork=1
+
 
compound construction=1
+
and without currently knowing a looping thing, I'll just have to do it with if statements & give it a limited number of cells
controlled burn=1
+
 
cooking=1
+
yea, that'll work, it won't work perfectly, but it'll work
desiccation=1
+
 
dowsing=1
+
for simplicity sake I'm going to leave the row marker out for now
ecology=3
+
 
entomology=1
+
 
exploration travel=1
+
==usage==
fine casting=1
+
<nowiki>{{ template | even/odd | background1 | background 2 | data | data | data | data | data | data | data | data | data | data }}</nowiki>
firebuilding=3
+
 
fishing=1
+
It takes in up to 10 data cells (why 10? because, that's why)
flax processing=1
+
 
foraging=1
+
I wonder if I can give it numbers hmm, might work better if i rearrange it for that tho, bah! but that messes up the rest ... or, not at all if the backgrounds & even/odd are named hmm
gardening=1
+
 
glassblowing=1
+
</noinclude>
guild construction=1
+
{{#switch: {{{1}}}
hive optimization=1
+
|even
home construction=1
+
|Even={{!}}style='background: {{{2}}};' {{!}} {{{4}}}
horticulture=1
+
{{!}}style='background: {{{3}}};' {{!}} {{{5}}}
improved brick rack construction=1
+
{{!}}style='background: {{{2}}};' {{!}} {{{6}}}
kiln construction=1
+
{{!}}style='background: {{{3}}};' {{!}} {{{7}}}
masonry=1
+
{{!}}style='background: {{{2}}};' {{!}} {{{8}}}
mining=1
+
{{!}}style='background: {{{3}}};' {{!}} {{{9}}}
metallurgy=2
+
{{!}}style='background: {{{2}}};' {{!}} {{{10}}}
pyrotechnic mortar construction=1
+
{{!}}style='background: {{{3}}};' {{!}} {{{11}}}
navigation=1
+
{{!}}style='background: {{{2}}};' {{!}} {{{12}}}
obelisk construction=2
+
{{!}}style='background: {{{3}}};' {{!}} {{{13}}}
ore extraction=2
+
|odd
papyrus paper fabrication=1
+
|Odd={{!}}style='background: {{{3}}};' {{!}} {{{4}}}
pottery=1
+
{{!}}style='background: {{{2}}};' {{!}} {{{5}}}
project management=1
+
{{!}}style='background: {{{3}}};' {{!}} {{{6}}}
pyramid construction=7
+
{{!}}style='background: {{{2}}};' {{!}} {{{7}}}
rhythmic strength=5
+
{{!}}style='background: {{{3}}};' {{!}} {{{8}}}
ritual item construction=1
+
{{!}}style='background: {{{2}}};' {{!}} {{{9}}}
rock saw construction=1
+
{{!}}style='background: {{{3}}};' {{!}} {{{10}}}
salvage techniques=2
+
{{!}}style='background: {{{2}}};' {{!}} {{{11}}}
sign construction=1
+
{{!}}style='background: {{{3}}};' {{!}} {{{12}}}
stone blade fabrication=7
+
{{!}}style='background: {{{2}}};' {{!}} {{{13}}}
stonecutting=1
+
|Please use 'even' or 'odd' in the 2nd variable}}
stonemasonry=1
+
<noinclude>
structural pottery=1
 
structure maintenance=1
 
strusture reapri=1
 
taxidermy=1
 
the science of color=1
 
viticulture=1
 
water mining=1
 
wood treatment=1
 
 
----
 
----
*Architecture = #f80
+
so I was thinking.. the whole 'Research/Saqqarah' thing sucks...... and I can't work out how to make it not show that...
*Art = #0cf
 
*Body = #4f4
 
*Harmony = #c0f
 
*Leadership = #44f
 
*Thought = #f44
 
*Discipline = #ff2
 
  
MidnightBlue, me, SaiCoSis, Heplotep, Waerloga, Pandemonis
+
Or can I
</noinclude>
+
 
{|align=center width=100% border=0 cellpadding=10 style='background:#EFDFBD'
+
yea I've a few ideas
|- align=center valign=top
+
Though I haven't gotten them working just yet
|      <!-- 1st up is arch -->
+
 
{|style='border: 1px solid #000; border-spacing: 0; width: 26em; '
+
But this latest idea was mmm convoluted I suppose.
|-
+
The first part of the problem is that it uses an ask statement which returns pages & the main namespace has the subpages thing turned off. So it treats subpages as pagenames rather than as subpages.
| style='width: 0.5em; background: #f80; border-right: 1px solid #aaa' rowspan='0' | &nbsp;
 
| colspan='2' style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em' | University of
 
| style='width: 0.5em; background: #f80; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
|-
 
| colspan='2' style='font-size: 110%; font-weight: bold; text-align: center; padding: 0.2em 0.5em' | Architecture
 
|-
 
|style='text-align: center; font-weight: bold; font-size: 80%; padding: 0 0.2em; width: 40%; border-bottom: 3px double #aaa' | Tech
 
| style='text-align: center; font-weight: bold; font-size: 80%; padding: 0 0.2em; width: 60%; border-bottom: 3px double #aaa' | Region
 
|-
 
{{#ifeq: {{#ifexpr:{{{Alternative Fuels}}}<1|true|false}} | {{#if: {{#ask:[[Researched::Alternative Fuels]]}} |true}} |
 
{{!}}-
 
{{!}} style='text-align: left; font-weight: bold; font-size: 100%; padding: 0 0.2em; border-bottom: 1px solid #aaa' {{!}} [[Alternative Fuels]]
 
{{!}} style='text-align: left; font-weight: bold; font-size: 80%; border-bottom: 1px solid #aaa' {{!}} {{#ask:[[Researched::Alternative Fuels]]|format=ul}} }}  <!--EOS-->
 
{{#ifeq: {{#ifexpr:{{{Basic Metal Treatment}}}<1|true|false}} | {{#if: {{#ask:[[Researched::Basic Metal Treatment]]}} |true}} |
 
{{!}}-
 
{{!}} style='text-align: left; font-weight: bold; padding: 0 0.2em; font-size: 100%; border-bottom: 1px solid #aaa' {{!}} [[blh]]
 
{{!}} style='text-align: left; font-weight: bold;padding: 0 0.2em;  font-size: 80%; border-bottom: 1px solid #aaa' {{!}} {{#ask:[[Researched::Basic Metal Treatment]]|format=ul}} }}  <!--EOS-->
 
{{#ifeq: {{#ifexpr:{{{Improved Brick Rack Construction}}}<1|true|false}} | {{#if: {{#ask:[[Researched::Improved Brick Rack Construction]]}} |true}} |
 
{{!}}-
 
{{!}} style='text-align: left; font-weight: bold; padding: 0 0.2em; font-size: 100%; border-bottom: 1px solid #aaa' {{!}} [[Improved Brick Rack Construction]]
 
{{!}} style='text-align: left; font-weight: bold; padding: 0 0.2em; font-size: 80%; border-bottom: 1px solid #aaa' {{!}} {{#ask:[[Researched::Improved Brick Rack Construction]]|format=ul}} }}  <!--EOS-->
 
{{#ifeq: {{#ifexpr:{{{Masonry}}}<1|true|false}} | {{#if: {{#ask:[[Researched::Masonry]]}} |true}} |
 
{{!}}-
 
{{!}} style='text-align: left; font-weight: bold; padding: 0 0.2em; font-size: 100%; border-bottom: 1px solid #aaa' {{!}} [[Masonry]]
 
{{!}} style='text-align: left; font-weight: bold;padding: 0 0.2em;  font-size: 80%; border-bottom: 1px solid #aaa' {{!}} {{#ask:[[Researched::Masonry]]|format=ul}} }}  <!--EOS-->
 
{{#ifeq: {{#ifexpr:{{{Mining}}}<1|true|false}} | {{#if: {{#ask:[[Researched::Mining]]}} |true}} |
 
{{!}}-
 
{{!}} style='text-align: left; font-weight: bold; padding: 0 0.2em; font-size: 100%; border-bottom: 1px solid #aaa' {{!}} [[blh]]
 
{{!}} style='text-align: left; font-weight: bold;padding: 0 0.2em;  font-size: 80%; border-bottom: 1px solid #aaa' {{!}} {{#ask:[[Researched::Mining]]|format=ul}} }}  <!--EOS-->
 
|} <!-- closing arch table -->
 
  
|<!-- next to arch is art -->
+
But I can hand the results to a template to produce the results in a format that I actually want. I wonder how much of a pain that'll be.
{|style='border: 1px solid #000; border-spacing: 0; width: 26em; '
 
|-
 
| style='width: 0.5em; background: #0cf; border-right: 1px solid #aaa' rowspan='0' | &nbsp;
 
| colspan='2' style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | University of
 
| style='width: 0.5em; background: #0cf; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
|-
 
| colspan='2' style='font-size: 110%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | Art & Music
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
| Tech
 
| Region
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
|} <!-- closing art table -->
 
  
|- align=center valign=top
+
{{#ask: [[Researched::+]] [[Research/Adn]]
|<!-- 3rd comes body -->
+
|format=template
{|style='border: 1px solid #000; border-spacing: 0; width: 20em; '
+
|Template=:User:Amisibastet/temp/2}}
|-
 
| style='width: 0.5em; background: #4f4; border-right: 1px solid #aaa' rowspan='0' | &nbsp;
 
| colspan='2' style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | University of
 
| style='width: 0.5em; background: #4f4; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
|-
 
| colspan='2' style='font-size: 110%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | Human Body
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
| Tech
 
| Region
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
|} <!-- closing body table -->
 
  
|<!-- 4th is harmony -->
 
{|style='border: 1px solid #000; border-spacing: 0; width: 20em; '
 
|-
 
| style='width: 0.5em; background: #c0f; border-right: 1px solid #aaa' rowspan='0' | &nbsp;
 
| colspan='2' style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | University of
 
| style='width: 0.5em; background: #c0f; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
|-
 
| colspan='2' style='font-size: 110%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | Harmony
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
| Tech
 
| Region
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
|} <!-- closing harmony table -->
 
  
|- align=center valign=top
+
it's not going so well yet
|<!-- 5th is leadership -->
 
{|style='border: 1px solid #000; border-spacing: 0; width: 20em; '
 
|-
 
| style='width: 0.5em; background:  #44f; border-right: 1px solid #aaa' rowspan='0' | &nbsp;
 
| colspan='2' style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | University of
 
| style='width: 0.5em; background: #44f; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
|-
 
| colspan='2' style='font-size: 110%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | Leadership
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
| Tech
 
| Region
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
|} <!-- closing lead table -->
 
  
|<!-- 6th is thought-->
+
can't really tell what is being handed to the template
{|style='border: 1px solid #000; border-spacing: 0; width: 20em; '
+
so i can't do a #switch on it
 +
</noinclude>
 +
{| border=2 style='background:transparent'
 
|-
 
|-
| style='width: 0.5em; background: #f44; border-right: 1px solid #aaa' rowspan='0' | &nbsp;
+
|
| colspan='2' style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | University of
+
{| style='background:transparent' cellpadding=10 cellspacing=20 border=0
| style='width: 0.5em; background: #f44; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
+
|+'''First Run'''
 
|-
 
|-
| colspan='2' style='font-size: 110%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | Thought
+
|
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
+
# {{{c1x}}}, {{{c1y}}}
| Tech
+
{{{c1x}}}, {{{c1y}}},{{{d1}}} {{{c1x}}}, {{{c1y}}}
| Region
+
|}
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
+
|}
|} <!-- closing thought table -->
 
  
|- align=center valign=top
+
----
|<!-- 7th is worship -->
 
{|style='border: 1px solid #000; border-spacing: 0; width: 20em; '
 
|-
 
| style='width: 0.5em; background: #ff2; border-right: 1px solid #aaa' rowspan='0' | &nbsp;
 
| colspan='2' style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | University of
 
| style='width: 0.5em; background: #ff2; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
|-
 
| colspan='2' style='font-size: 110%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | Worship
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
| Tech
 
| Region
 
|- style='text-align: center; font-weight: bold; font-size: 80%; padding: 0; width: 50%; border-bottom: 3px double #aaa'
 
|} <!-- closing worship table -->
 
  
|}<!-- closing the placement table -->
+
{{#ask: [[PointOfInterest::+]]
 +
|?PointOfInterest
 +
}}

Latest revision as of 00:48, 12 April 2009

links i might want to read up on if i get back around to working on things like this

Usage

This template will generate a table row. I'm not sure how useful that sounds at the moment, but I'm willing to go with that idea for a bit.
How neat, I *can* pass a template in a variable. Now... how to use this awsome power... muhahhahaha! mmm it'd be tastier with a loop...... back to the researching/studying!

sigh i should just leave links here for where to find the info i'm finding useful, it's not like I don't refer back to it more often than i'd like

http://semantic-mediawiki.org/wiki/Semantic_MediaWiki

http://semantic-mediawiki.org/wiki/Help:Selecting_pages

Anyway

here's a thought for making this somewhat useful

I was thinking of the alternating background deal

which can become convoluted

so, I'd need an even or an odd for which background color goes first

and without currently knowing a looping thing, I'll just have to do it with if statements & give it a limited number of cells

yea, that'll work, it won't work perfectly, but it'll work

for simplicity sake I'm going to leave the row marker out for now


usage

{{ template | even/odd | background1 | background 2 | data | data | data | data | data | data | data | data | data | data }}

It takes in up to 10 data cells (why 10? because, that's why)

I wonder if I can give it numbers hmm, might work better if i rearrange it for that tho, bah! but that messes up the rest ... or, not at all if the backgrounds & even/odd are named hmm


Please use 'even' or 'odd' in the 2nd variable


so I was thinking.. the whole 'Research/Saqqarah' thing sucks...... and I can't work out how to make it not show that...

Or can I

yea I've a few ideas Though I haven't gotten them working just yet

But this latest idea was mmm convoluted I suppose. The first part of the problem is that it uses an ask statement which returns pages & the main namespace has the subpages thing turned off. So it treats subpages as pagenames rather than as subpages.

But I can hand the results to a template to produce the results in a format that I actually want. I wonder how much of a pain that'll be.

Research/Adn


it's not going so well yet

can't really tell what is being handed to the template so i can't do a #switch on it

First Run
  1. {{{c1x}}}, {{{c1y}}}

{{{c1x}}}, {{{c1y}}},{{{d1}}} {{{c1x}}}, {{{c1y}}}


 PointOfInterest
Ascii BastetKittens Compound; 817; -1536
Guilds/EAAAGuild hall; -375; 6580
Guilds/The Mad BotanistsGuild Hall; -500; 6721
Red BastetKittens Compound; 817; -1536
Red SandMeroe; 776; -2966
Heaven's Gate; -2662; 6763
Queen's Retreat; 3490; -6100
Saqqarah; 160; -1975
Shabbat Ab; 735; 1587
StatuesLion;398;-3715
2 Lions Back-to-Back;318;-3856
Statue of Montu;2425;-1718
Statue of Montu;-1416;875
Test of the SafariQR;335; -6375
SA;1398;1778
Guilds/West Harlem Academy of Fine ArtsPublic Works; 1125; 6740