User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
Line 118: Line 118:
single 54-case switch be as far as tree-hugging, terrorist-supporting wiki page magic inclusion things be? Would it kill the FA page?-[[MHS|<span style="color: Black">'''MHS'''</span>]][[User_Talk:MHSstaff|<span style="color: DarkBlue">'''staff'''</span>]] 23:11, 19 January 2011 (UTC)
single 54-case switch be as far as tree-hugging, terrorist-supporting wiki page magic inclusion things be? Would it kill the FA page?-[[MHS|<span style="color: Black">'''MHS'''</span>]][[User_Talk:MHSstaff|<span style="color: DarkBlue">'''staff'''</span>]] 23:11, 19 January 2011 (UTC)
:It'd actually be a 108 case switch statements (54 for current and 54 for previous), and it wouldn't be that bad. Each case would basically just have the unique portion of the link to each FA blurb, which would likely just be a few characters long, and anything that was common to the link could be put before or after the switch in the template so that it didn't have to get repeated 108 times. Shouldn't even be close to page-breaking if done right, but I'd suggest sandboxing it first to make sure anyway. {{User:Aichon/Signature}} 05:23, 20 January 2011 (UTC)
:It'd actually be a 108 case switch statements (54 for current and 54 for previous), and it wouldn't be that bad. Each case would basically just have the unique portion of the link to each FA blurb, which would likely just be a few characters long, and anything that was common to the link could be put before or after the switch in the template so that it didn't have to get repeated 108 times. Shouldn't even be close to page-breaking if done right, but I'd suggest sandboxing it first to make sure anyway. {{User:Aichon/Signature}} 05:23, 20 January 2011 (UTC)
::Here is what I am thinking. A master switch template that calls one of 54 pre-generated templates based on the number of FA articles we have. Those templates then get the correct FA article based on the current week. I basically have a program that spits out the wiki code so its just a matter of copying and pasting. Here is the [[User:MHSstaff/Projects/TestingGrounds‎|'''17-article version''']] for example, and here is a [[User:MHSstaff/Projects/TestingGrounds2‎|'''43 article version''']]. Here is sorta [[User:MHSstaff/Projects/TestingGrounds1|'''what the main template''']] would like, and [[User:MHSstaff/Projects/TestingGrounds4|'''here is where''']] I am calling it. This way, you wouldn't have to update as you voted in new articles. You just change the number of articles variable in the main driver template, and it calls the right one for cycling. What changes should be made? I can update the code to spit out the right version but there is no point in copying and pasting it until we have something we like. -[[MHS|<span style="color: Black">'''MHS'''</span>]][[User_Talk:MHSstaff|<span style="color: DarkBlue">'''staff'''</span>]] 19:16, 20 January 2011 (UTC)
::Here is what I am thinking. A master switch template that calls one of 54 pre-generated templates based on the number of FA articles we have. Those templates then get the correct FA article based on the current week. I basically have a program that spits out the wiki code so its just a matter of copying and pasting. Here is the [[User:MHSstaff/Projects/TestingGrounds‎|'''17-article version''']] for example, and here is a [[User:MHSstaff/Projects/TestingGrounds2‎|'''43 article version''']]. Here is sorta [[User:MHSstaff/Projects/TestingGrounds1|'''what the main template''']] would like, and [[User:MHSstaff/Projects/TestingGrounds4|'''here is where''']] I am calling it. This way, you wouldn't have to update as you voted in new articles. You just change the number of articles variable in the main driver template, and it calls the right one for cycling. What changes should be made? I can update the code to spit out the version with your suggesstions but there is no point in copying and pasting it until we have something we all like. -[[MHS|<span style="color: Black">'''MHS'''</span>]][[User_Talk:MHSstaff|<span style="color: DarkBlue">'''staff'''</span>]] 19:16, 20 January 2011 (UTC)


== You shall be incredibly proud ==
== You shall be incredibly proud ==

Revision as of 19:20, 20 January 2011

Aichon:Talk
Aichon
ˈīˌkän :Talk