Template talk:RollRow: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis (historical)
(Haaaalp!)
 
imported>Sekoia (historical)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
* if rcol is defined, then ''rcol=number'' of colums on the right, else extend to right (level 50)
* if rcol is defined, then ''rcol=number'' of colums on the right, else extend to right (level 50)
but I can't get the #if thing to work right. :/ -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 17:45, 30 June 2009 (UTC)
but I can't get the #if thing to work right. :/ -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 17:45, 30 June 2009 (UTC)
: I think I got it working for ya. :) -- [[User:Sekoia|Sekoia]] 17:59, 30 June 2009 (UTC)
::Bah! Darn those pipes and colons. ;p Thanks! -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 18:00, 30 June 2009 (UTC)
::: They can be slightly flustering, hehe. I just used #expr: to make mcol= optional, since it can be calculated using lcol and rcol. I'm not sure if you want the ability to make it optional or not, though, so feel free to revert it out. I doubled the first example line to show it working. -- [[User:Sekoia|Sekoia]] 18:45, 30 June 2009 (UTC)

Latest revision as of 18:45, 30 June 2009

Bah. I can't get it to show up right. I want the following:

  • if lcol is defined, then lcol=number of columns on the left, else start at left (level 10)
  • if rcol is defined, then rcol=number of colums on the right, else extend to right (level 50)

but I can't get the #if thing to work right. :/ -- Agge (talk) 17:45, 30 June 2009 (UTC)

I think I got it working for ya. :) -- Sekoia 17:59, 30 June 2009 (UTC)
Bah! Darn those pipes and colons. ;p Thanks! -- Agge (talk) 18:00, 30 June 2009 (UTC)
They can be slightly flustering, hehe. I just used #expr: to make mcol= optional, since it can be calculated using lcol and rcol. I'm not sure if you want the ability to make it optional or not, though, so feel free to revert it out. I doubled the first example line to show it working. -- Sekoia 18:45, 30 June 2009 (UTC)