Difference between revisions of "User talk:Calvin November"

From BattleMaster Wiki
Jump to navigation Jump to search
(if...then-type boolean in wiki?)
(cleanin' up)
Line 74: Line 74:
 
:That same idea (the templete thing) came to me yesterday. Would be a ton simpler. I'll look into it. Thanks. --[[User:Calvin November|Calvin November]] 14:00, 23 August 2006 (CEST)<br>  
 
:That same idea (the templete thing) came to me yesterday. Would be a ton simpler. I'll look into it. Thanks. --[[User:Calvin November|Calvin November]] 14:00, 23 August 2006 (CEST)<br>  
  
::Okay, here's what I'm going for:
+
::[[Template:AlebadRegions|Done]]! --[[User:Calvin November|Calvin November]] 14:54, 25 August 2006 (CEST)
{| style="background:#f9f9f9"
 
|-
 
|'''All [[Alebad]] Regions:''' [[Colonies/Abaka|Abaka]] &bull; [[Colonies/Alebad|Alebad]] &bull; [[Colonies/Bode_Batura|Bode Batura]] &bull; [[Colonies/Vir_el_Mari_heights|Vir el Mari heights]] &bull; [[Colonies/Volkanita|Volkanita]]
 
|}
 
::The corresponding template would be, basically...
 
{| style="background:#f9f9f9"
 
|-
 
|'''All [[Alebad]] Regions:''' {{{RegionName1}}} &bull; {{{RegionName2}}} &bull; {{{RegionName3}}} &bull; {{{RegionName4}}} &bull; {{{RegionName5}}}
 
|}
 
 
 
::But, if I want to make this template "useable" by any realm, there needs to be a ton (at least) of spots for region names. As in:
 
{| style="background:#f9f9f9"
 
|-
 
|'''All {{{RealmName}}} Regions:''' {{{RegionName1}}} &bull; {{{RegionName2}}} &bull; {{{RegionName3}}} &bull; {{{RegionName4}}} &bull; {{{RegionName5}}} &bull; {{{RegionName6}}} &bull; {{{RegionName7}}} &bull; {{{RegionName8}}} &bull; {{{RegionName9}}} &bull; {{{RegionName10}}} &bull; {{{RegionName11}}} &bull; {{{RegionName12}}} &bull; {{{RegionName13}}} &bull; {{{RegionName14}}} &bull; {{{RegionName15}}} &bull; {{{RegionName16}}} &bull; {{{RegionName17}}} &bull; {{{RegionName18}}} &bull; {{{RegionName19}}} &bull; {{{RegionName20}}} &bull; {{{RegionName21}}} &bull; {{{RegionName22}}} &bull; {{{RegionName23}}} &bull; {{{RegionName24}}} &bull; {{{RegionName25}}}
 
|}
 
::But that means the &bull; characters need to be conditional based on whether they are followed by a {{{RegionNameX}}}. It that possible in wiki-ness? Maybe I should just make this template specific to Alebad for now and manually adjust it as the number of regions change. --[[User:Calvin November|Calvin November]] 14:17, 23 August 2006 (CEST)
 
<br>
 

Revision as of 13:54, 25 August 2006

Player Page

Lol, nicked my inalienable right idea I see. If I ever get back on EC with Widfara I will suggest using that. --The1exile 20:03, 28 June 2006 (CEST)

You bet, bro. I thought it was pretty funny. I couldn't make all the changes I wanted using the template, so I lifted and tweaked the template's code instead.--Calvin November 21:59, 28 June 2006 (CEST)
Nice idea there. Are you good with coding? I might need some help with tweaking in future, if you can help. Things that end up on my draft page generally look like messes spawned out of organised chaos. --The1exile 22:15, 28 June 2006 (CEST)
Uh, I guess I know a little. Honestly, I just nose around, copy and tweak stuff to fit my needs. Sure, I'm willing to help. Actually, I've never played with creating templates, but I've done a lot of wiki tables. FWIW, I'm going on a little vacation tomorrow. Be back in a couple of weeks. --Calvin November 00:05, 29 June 2006 (CEST)

Just playing with a possible new template layout for the Infiltrator Stats page.

Economic SabotageMilitary Sabatoge
NameTax StolenTax CountsFood BurnedProduction SabotageCaravans RaidedWorkshops Disabled Millita MurderedTroop Leaders AssaultedCaptured/ EscapedBounties CollectedFortifications DamagedTravel Disrupted
{{{name}}}{{{stolen}}}{{{counted}}}{{{counted}}} {{{assault}}}{{{food}}}{{{capture}}}33334567891011123789
But what if my name is really, really long? NO I mean loooooooooooooooong!{{{stolen}}}{{{counted}}}{{{counted}}} {{{assault}}}{{{food}}}{{{capture}}}33334567891011123789

{{{name}}}

Economic Sabotage Military Sabatoge
Taxes Stolen {{{stolen}}} Militia Murdered {{{militia}}}
Taxes Counted {{{counted}}} Troop Leaders Assaulted {{{assault}}}
Food burned {{{food}}} Captured {{{capture}}}
Production Sabotage {{{production}}} Escaped {{{escape}}}
Caravans Raided {{{caravan}}} Bounties Collected {{{bounty}}}
Workshops Disabled {{{workshop}}} Fortifications Damaged {{{fortification}}}
Current Status {{{status}}} Travel Disrupted {{{travel}}}

About you lnks on the alebad regins page, perhaps you should amake a template for the alebad regions? Also, that link shoing the region depends on what character you lst used; for some obscure reason I got FEI (thought the link should have said testing but oh well). --The1exile 18:30, 22 August 2006 (CEST)

The links to the region pages won't work? Dah! Too bad. Okay, I'll remove them. --Calvin November 14:00, 23 August 2006 (CEST)
That same idea (the templete thing) came to me yesterday. Would be a ton simpler. I'll look into it. Thanks. --Calvin November 14:00, 23 August 2006 (CEST)
Done! --Calvin November 14:54, 25 August 2006 (CEST)