User talk:TripleU/Random Propaganda: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
 
(6 intermediate revisions by 2 users not shown)
Line 18: Line 18:
:::::Redirects and inclusions don't like each other. Neither do adding the REDIRECT# information ''inside'' the switch. I'm kind of at a loss. I think with redirects, you just can't bully it into doing what you want. {{User:Vapor/sig}} <sub>18:34, 9 March 2011</sub>
:::::Redirects and inclusions don't like each other. Neither do adding the REDIRECT# information ''inside'' the switch. I'm kind of at a loss. I think with redirects, you just can't bully it into doing what you want. {{User:Vapor/sig}} <sub>18:34, 9 March 2011</sub>
::::::[[Death|Failure]] is an option. --{{User:TripleU/Sig}} 23:13, 9 March 2011 (UTC)
::::::[[Death|Failure]] is an option. --{{User:TripleU/Sig}} 23:13, 9 March 2011 (UTC)
:::::::What you really need is an [[User:Aichon|Aichon]]. {{User:Vapor/sig}} <sub>23:24, 9 March 2011</sub>
::::::::I've got a good few Aichon Points saved up, but I've refreshed the page too many times, and can't use any until [[User:Aichon|the server]] [[Special:Contributions/Aichon|relapses]]. --{{User:TripleU/Sig}} 00:10, 10 March 2011 (UTC)
:::::::::Well I guess if I had taken the time to thoroughly read [[Help:Redirection#Creating a redirect|Help]] then I would have seen before two important points:
:::::::::{{divquote|1=Help:Redirection|2=Extra text ''after'' the <code>#REDIRECT</code> command and link, ''on the same line'', can serve as explanatory text. It is only shown when viewing the redirect page itself.
Extra ''lines'' of text are [[Help:Automatic conversion of wikitext|automatically deleted]] on Save (not yet on Preview).}}
:::::::::So I guess we can try to make it all fit on one line. Otherwise it isn't going to work since everything past the first line of code is deleted. {{User:Vapor/sig}} <sub>05:46, 10 March 2011</sub>


==Code==
==Code==
Line 83: Line 92:
|default=[[RRF/Malton_Herald_&_Sun]]
|default=[[RRF/Malton_Herald_&_Sun]]
}}
}}
==Alternative==
Since it looks like redirection isn't going to work, why not just create a link that does the same thing? Like [[{{Switch
|{{CURRENTMINUTE}}
|case: 01=RRF/Malton Herald & Sun/Main0106
|case: 02=RRF/Malton Herald & Sun/Main0306
|case: 03=RRF/Malton Herald & Sun/Main0415
|case: 04=RRF/Malton Herald & Sun/Main0506
|case: 05=RRF/Malton Herald & Sun/Main051506
|case: 06=User_talk:MaulMachine#The_Restless_Living
|case: 07=User:Elbert_gray
|case: 08=User:Mallrat/Fiction#One
|case: 09=User:Verance/Tale
|case: 10=User:Mr_Wendal/story
|case: 11=User:BrotherMcBeaner/players_and_villains
|case: 12=User:Sannok/words#silver
|case: 13=User:Rachel Akebre/Barhah
|case: 14=User:JN/Sandbox#Reflections_on_Barhah_and_Drunkenness:_By_Birra_Moretti.2C_in_a_Rare_Moment_of_Relative_Sobriety
|case: 15=User:Goribus/Barhah
|case: 16=User:Zombiegeorge#The_Barhah
|case: 17=User:Mayhem2010
|case: 18=User:TripleU/Barhah
|case: 19=User:Misanthropy/Sandbox16
|case: 20=Image:Propaganda0.gif
|case: 21=Image:Propaganda1.jpg
|case: 22=Image:Propaganda2.jpg
|case: 23=Image:Propaganda3.png
|case: 24=Image:Propaganda4.jpg
|case: 25=Image:Propaganda5.jpg
|case: 26=Image:Propaganda6.jpg
|case: 27=Image:Rrfposter00.jpg
|case: 28=Image:Rrfposter01.jpg
|case: 29=Image:Rrfposter07.jpg
|case: 30=Image:Rrfposter08.jpg
|case: 31=Image:Rrfposter14.jpg
|case: 32=Image:Rrfposter03.jpg
|case: 33=Image:EatBabies.jpg
|case: 34=Image:Destroy & Feed.jpg
|case: 35=Red Rum
|case: 36=RDD
|case: 37=Undeadites
|case: 38=Extinction
|case: 39=Dead Hand
|case: 40=March into the sea
|case: 41=Philosophe Knights
|case: 42=Cobra
|case: 43=Feral Undead
|case: 44=Annus Horribilis
|case: 45=St. Ferreol's Hospital Noise Abatement Society
|case: 46=Militant Order of Barhah
|case: 47=The_Ridleybank_Resistance_Front
|case: 48=Philosophe Knights/Recruitment
|case: 49=Cobra/Recruitment
|case: 50=Category:Recruitment#Feral_Undead:_Zombie_Group
|case: 51=Annus Horribilis/rec
|case: 52=St. Ferreol's Hospital Noise Abatement Society/recruit
|case: 53=Militant Order of Barhah/Recruitment
|case: 54=The Ridleybank Resistance Front/recruit
|case: 55=User:Thanatologist/Sandbox/00
|case: 56=User:Penguinpyro/PequilieatSurprise
|case: 57=User:Chief_Seagull/Haggaz
|case: 58=User:Vapor/sandbox/Harmantashen
|case: 59=User:TripleU/Contest
|default=RRF/Malton_Herald_&_Sun
}}|this]]. This also fixes the problem you will have using {{tl|Purge}} to bypass page caching issues associated with the CURRENTMINUTE templates. I've tried every way imaginable to get the redirect idea to work I just think there is no work around. Hopefully this is a good enough alternative for you. {{User:Vapor/sig}} <sub>06:15, 10 March 2011</sub>
:I'm not going to spraypaint a link to a link. I'll trim it to just images (using CURRENTDAY, with repeats) and link to some of the better pages separately. For your services, you (Vapor) have [[User:TripleU/Wheel|won]]:
{{Nothing|TripleU|Vapor|trying (and failing) to write magical wikicode for him}}
:--{{User:TripleU/Sig}} 07:01, 10 March 2011 (UTC)
::I didn't realize this was for spraying. Here is one more go at it then. You aren't going to be able to use redirects but you can use inclusions. Try this code on [[User:TripleU/Random Propaganda]]:
{{Codeinline|<nowiki>{{Custom Title|2={{Switch
|{{CURRENTMINUTE}}
|case: 01=RRF/Malton Herald & Sun/Main0106
|case: 02=RRF/Malton Herald & Sun/Main0306
|case: 03=RRF/Malton Herald & Sun/Main0415
|case: 04=RRF/Malton Herald & Sun/Main0506
|case: 05=RRF/Malton Herald & Sun/Main051506
|case: 06=User_talk:MaulMachine#The_Restless_Living
|case: 07=User:Elbert_gray
|case: 08=User:Mallrat/Fiction#One
|case: 09=User:Verance/Tale
|case: 10=User:Mr_Wendal/story
|case: 11=User:BrotherMcBeaner/players_and_villains
|case: 12=User:Sannok/words#silver
|case: 13=User:Rachel Akebre/Barhah
|case: 14=User:JN/Sandbox#Reflections_on_Barhah_and_Drunkenness:_By_Birra_Moretti.2C_in_a_Rare_Moment_of_Relative_Sobriety
|case: 15=User:Goribus/Barhah
|case: 16=User:Zombiegeorge#The_Barhah
|case: 17=User:Mayhem2010
|case: 18=User:TripleU/Barhah
|case: 19=User:Misanthropy/Sandbox16
|case: 20=Image:Propaganda0.gif
|case: 21=Image:Propaganda1.jpg
|case: 22=Image:Propaganda2.jpg
|case: 23=Image:Propaganda3.png
|case: 24=Image:Propaganda4.jpg
|case: 25=Image:Propaganda5.jpg
|case: 26=Image:Propaganda6.jpg
|case: 27=Image:Rrfposter00.jpg
|case: 28=Image:Rrfposter01.jpg
|case: 29=Image:Rrfposter07.jpg
|case: 30=Image:Rrfposter08.jpg
|case: 31=Image:Rrfposter14.jpg
|case: 32=Image:Rrfposter03.jpg
|case: 33=Image:EatBabies.jpg
|case: 34=Image:Destroy & Feed.jpg
|case: 35=Red Rum
|case: 36=RDD
|case: 37=Undeadites
|case: 38=Extinction
|case: 39=Dead Hand
|case: 40=March into the sea
|case: 41=Philosophe Knights
|case: 42=Cobra
|case: 43=Feral Undead
|case: 44=Annus Horribilis
|case: 45=St. Ferreol's Hospital Noise Abatement Society
|case: 46=Militant Order of Barhah
|case: 47=The_Ridleybank_Resistance_Front
|case: 48=Philosophe Knights/Recruitment
|case: 49=Cobra/Recruitment
|case: 50=Category:Recruitment#Feral_Undead:_Zombie_Group
|case: 51=Annus Horribilis/rec
|case: 52=St. Ferreol's Hospital Noise Abatement Society/recruit
|case: 53=Militant Order of Barhah/Recruitment
|case: 54=The Ridleybank Resistance Front/recruit
|case: 55=User:Thanatologist/Sandbox/00
|case: 56=User:Penguinpyro/PequilieatSurprise
|case: 57=User:Chief_Seagull/Haggaz
|case: 58=User:Vapor/sandbox/Harmantashen
|case: 59=User:TripleU/Contest
|default=RRF/Malton_Herald_&_Sun
}}}}
{{:{{Switch
|{{CURRENTMINUTE}}
|case: 01=RRF/Malton Herald & Sun/Main0106
|case: 02=RRF/Malton Herald & Sun/Main0306
|case: 03=RRF/Malton Herald & Sun/Main0415
|case: 04=RRF/Malton Herald & Sun/Main0506
|case: 05=RRF/Malton Herald & Sun/Main051506
|case: 06=User_talk:MaulMachine#The_Restless_Living
|case: 07=User:Elbert_gray
|case: 08=User:Mallrat/Fiction#One
|case: 09=User:Verance/Tale
|case: 10=User:Mr_Wendal/story
|case: 11=User:BrotherMcBeaner/players_and_villains
|case: 12=User:Sannok/words#silver
|case: 13=User:Rachel Akebre/Barhah
|case: 14=User:JN/Sandbox#Reflections_on_Barhah_and_Drunkenness:_By_Birra_Moretti.2C_in_a_Rare_Moment_of_Relative_Sobriety
|case: 15=User:Goribus/Barhah
|case: 16=User:Zombiegeorge#The_Barhah
|case: 17=User:Mayhem2010
|case: 18=User:TripleU/Barhah
|case: 19=User:Misanthropy/Sandbox16
|case: 20=Image:Propaganda0.gif
|case: 21=Image:Propaganda1.jpg
|case: 22=Image:Propaganda2.jpg
|case: 23=Image:Propaganda3.png
|case: 24=Image:Propaganda4.jpg
|case: 25=Image:Propaganda5.jpg
|case: 26=Image:Propaganda6.jpg
|case: 27=Image:Rrfposter00.jpg
|case: 28=Image:Rrfposter01.jpg
|case: 29=Image:Rrfposter07.jpg
|case: 30=Image:Rrfposter08.jpg
|case: 31=Image:Rrfposter14.jpg
|case: 32=Image:Rrfposter03.jpg
|case: 33=Image:EatBabies.jpg
|case: 34=Image:Destroy & Feed.jpg
|case: 35=Red Rum
|case: 36=RDD
|case: 37=Undeadites
|case: 38=Extinction
|case: 39=Dead Hand
|case: 40=March into the sea
|case: 41=Philosophe Knights
|case: 42=Cobra
|case: 43=Feral Undead
|case: 44=Annus Horribilis
|case: 45=St. Ferreol's Hospital Noise Abatement Society
|case: 46=Militant Order of Barhah
|case: 47=The_Ridleybank_Resistance_Front
|case: 48=Philosophe Knights/Recruitment
|case: 49=Cobra/Recruitment
|case: 50=Category:Recruitment#Feral_Undead:_Zombie_Group
|case: 51=Annus Horribilis/rec
|case: 52=St. Ferreol's Hospital Noise Abatement Society/recruit
|case: 53=Militant Order of Barhah/Recruitment
|case: 54=The Ridleybank Resistance Front/recruit
|case: 55=User:Thanatologist/Sandbox/00
|case: 56=User:Penguinpyro/PequilieatSurprise
|case: 57=User:Chief_Seagull/Haggaz
|case: 58=User:Vapor/sandbox/Harmantashen
|case: 59=User:TripleU/Contest
|default=RRF/Malton_Herald_&_Sun
}}}}</nowiki>}}
::You should be able to spray your heart's content and still get your message across. The images will need to be tweaked a bit since they don't work with inclusions like pages do. But this is as close as you're going to get to your original idea. {{User:Vapor/sig}} <sub>07:27, 10 March 2011</sub>

Latest revision as of 07:27, 10 March 2011

Nifty

This looks really neat. Are these all going to be redirects? One thing you could do is to make three templates, one for Groups, one for images, and one for other things, which would use the time templates like you are doing now to call the image/page you want. You can then have another template that uses the Currenthour or Vapor's minute one to call either the Group, Image, or Other template depending on the current hour or minute. If you have an idea of which Groups / Images / etc you want to use, I can with some of the coding. -MHSstaff 17:31, 9 January 2011 (UTC)

You should reconsider if you really want to link to Extinction. These habitual alt-abusers have been banned from Barhah.com and many legitimate hordes for a reason. -- Spiderzed 17:47, 9 January 2011 (UTC)
You also may find this useful:{{Purge}}. Vapor wrote it. It loads the most recent version of the link to help get around caching problems with the time magic words. -MHSstaff 19:11, 9 January 2011 (UTC)
It doesn't appear that {{Purge}} would work in this case. It would take you to the original page (i.e. User:TripleU/Random Propaganda) instead of the intended redirect. See here. ~Vsig.png 20:02, 9 January 2011 (UTC)

Inclusion problems?

Trips, I'm not sure if you read my edit comments last night or if they made sense if they did (it was late). Something odd was happening last night but seems to be fixed now. But what I found is that redirects and inclusions weren't playing nice. So for example #Redirect[[Image:Rrfposter00.jpg]] was working but #Redirect[[:Image:Rrfposter00.jpg]] did not. Notice the colon in front of "Image". This seemed to have broken the redirect. I played around with it and the same thing happened when I placed a colon in front of a normal wiki page. It mysteriously reverted to whichever version of the page was previously saved. Whatever was happening, it seems to be alright now. I'm not seeing the same problem, but its not to say it won't happen again. ~Vsig.png 20:02, 9 January 2011 (UTC)

Now

Why does it constantly insist that it's minute 01? --VVV RPMBG 05:14, 20 February 2011 (UTC)

I tried out if covering case 00 does the trick. Now the thingy insists that it's minute 00 all the time :/ -- Spiderzed 13:14, 20 February 2011 (UTC)
Have also tried lower-case switch and substituting Template:CURRENTMINUTE with Template:CURRENTMINUTE2 (as the latter calls on fewer templates and thus is less likely to break), but that has done the trick neither. Most bizarre thing is that in preview, it points at the right redirect, but once I visit the actual page, it always uses case 00 (or 01 before my try). -- Spiderzed 13:22, 20 February 2011 (UTC)
Yeah see my comments above about redirects and inclusions. They seem to break the redirects and then page caching seems to also be a factor. I've removed the colons for now but didn't seem to have too much of an effect. The colons in front of the Image file name aren't necessary, BTW. The redirect will work (it will redirect to the image) without them. ~Vsig.png 18:17, 20 February 2011 (UTC)
This is tricky one because it seems to "sorta" work in the preview. Not sure yet. -MHSstaff 22:25, 20 February 2011 (UTC)
Maybe try copying code/blanking the page/saving/editing/pasting code back in? Like I said before caching seems to be groken. ~Vsig.png 05:41, 9 March 2011
Alright, so it's not page caching. It has to be the code, then. I think that the redirect is picking up only the first link it finds and is ignoring the switch altogether. I think you might have to place your switch on a different page and link use an inclusion to get it to work. I honestly don't know if that will work but I'm going to test it out. ~Vsig.png 18:22, 9 March 2011
Redirects and inclusions don't like each other. Neither do adding the REDIRECT# information inside the switch. I'm kind of at a loss. I think with redirects, you just can't bully it into doing what you want. ~Vsig.png 18:34, 9 March 2011
Failure is an option. --VVV RPMBG 23:13, 9 March 2011 (UTC)
What you really need is an Aichon. ~Vsig.png 23:24, 9 March 2011
I've got a good few Aichon Points saved up, but I've refreshed the page too many times, and can't use any until the server relapses. --VVV RPMBG 00:10, 10 March 2011 (UTC)
Well I guess if I had taken the time to thoroughly read Help then I would have seen before two important points:
Help:Redirection said:
Extra text after the #REDIRECT command and link, on the same line, can serve as explanatory text. It is only shown when viewing the redirect page itself.

Extra lines of text are automatically deleted on Save (not yet on Preview).

So I guess we can try to make it all fit on one line. Otherwise it isn't going to work since everything past the first line of code is deleted. ~Vsig.png 05:46, 10 March 2011

Code

  1. REDIRECT:User:Goribus/Barhah

Alternative

Since it looks like redirection isn't going to work, why not just create a link that does the same thing? Like this. This also fixes the problem you will have using {{Purge}} to bypass page caching issues associated with the CURRENTMINUTE templates. I've tried every way imaginable to get the redirect idea to work I just think there is no work around. Hopefully this is a good enough alternative for you. ~Vsig.png 06:15, 10 March 2011

I'm not going to spraypaint a link to a link. I'll trim it to just images (using CURRENTDAY, with repeats) and link to some of the better pages separately. For your services, you (Vapor) have won:
Nothing.png Nothing
TripleU has given Vapor nothing for trying (and failing) to write magical wikicode for him.
--VVV RPMBG 07:01, 10 March 2011 (UTC)
I didn't realize this was for spraying. Here is one more go at it then. You aren't going to be able to use redirects but you can use inclusions. Try this code on User:TripleU/Random Propaganda:

{{Custom Title|2={{Switch |{{CURRENTMINUTE}} |case: 01=RRF/Malton Herald & Sun/Main0106 |case: 02=RRF/Malton Herald & Sun/Main0306 |case: 03=RRF/Malton Herald & Sun/Main0415 |case: 04=RRF/Malton Herald & Sun/Main0506 |case: 05=RRF/Malton Herald & Sun/Main051506 |case: 06=User_talk:MaulMachine#The_Restless_Living |case: 07=User:Elbert_gray |case: 08=User:Mallrat/Fiction#One |case: 09=User:Verance/Tale |case: 10=User:Mr_Wendal/story |case: 11=User:BrotherMcBeaner/players_and_villains |case: 12=User:Sannok/words#silver |case: 13=User:Rachel Akebre/Barhah |case: 14=User:JN/Sandbox#Reflections_on_Barhah_and_Drunkenness:_By_Birra_Moretti.2C_in_a_Rare_Moment_of_Relative_Sobriety |case: 15=User:Goribus/Barhah |case: 16=User:Zombiegeorge#The_Barhah |case: 17=User:Mayhem2010 |case: 18=User:TripleU/Barhah |case: 19=User:Misanthropy/Sandbox16 |case: 20=Image:Propaganda0.gif |case: 21=Image:Propaganda1.jpg |case: 22=Image:Propaganda2.jpg |case: 23=Image:Propaganda3.png |case: 24=Image:Propaganda4.jpg |case: 25=Image:Propaganda5.jpg |case: 26=Image:Propaganda6.jpg |case: 27=Image:Rrfposter00.jpg |case: 28=Image:Rrfposter01.jpg |case: 29=Image:Rrfposter07.jpg |case: 30=Image:Rrfposter08.jpg |case: 31=Image:Rrfposter14.jpg |case: 32=Image:Rrfposter03.jpg |case: 33=Image:EatBabies.jpg |case: 34=Image:Destroy & Feed.jpg |case: 35=Red Rum |case: 36=RDD |case: 37=Undeadites |case: 38=Extinction |case: 39=Dead Hand |case: 40=March into the sea |case: 41=Philosophe Knights |case: 42=Cobra |case: 43=Feral Undead |case: 44=Annus Horribilis |case: 45=St. Ferreol's Hospital Noise Abatement Society |case: 46=Militant Order of Barhah |case: 47=The_Ridleybank_Resistance_Front |case: 48=Philosophe Knights/Recruitment |case: 49=Cobra/Recruitment |case: 50=Category:Recruitment#Feral_Undead:_Zombie_Group |case: 51=Annus Horribilis/rec |case: 52=St. Ferreol's Hospital Noise Abatement Society/recruit |case: 53=Militant Order of Barhah/Recruitment |case: 54=The Ridleybank Resistance Front/recruit |case: 55=User:Thanatologist/Sandbox/00 |case: 56=User:Penguinpyro/PequilieatSurprise |case: 57=User:Chief_Seagull/Haggaz |case: 58=User:Vapor/sandbox/Harmantashen |case: 59=User:TripleU/Contest |default=RRF/Malton_Herald_&_Sun }}}} {{:{{Switch |{{CURRENTMINUTE}} |case: 01=RRF/Malton Herald & Sun/Main0106 |case: 02=RRF/Malton Herald & Sun/Main0306 |case: 03=RRF/Malton Herald & Sun/Main0415 |case: 04=RRF/Malton Herald & Sun/Main0506 |case: 05=RRF/Malton Herald & Sun/Main051506 |case: 06=User_talk:MaulMachine#The_Restless_Living |case: 07=User:Elbert_gray |case: 08=User:Mallrat/Fiction#One |case: 09=User:Verance/Tale |case: 10=User:Mr_Wendal/story |case: 11=User:BrotherMcBeaner/players_and_villains |case: 12=User:Sannok/words#silver |case: 13=User:Rachel Akebre/Barhah |case: 14=User:JN/Sandbox#Reflections_on_Barhah_and_Drunkenness:_By_Birra_Moretti.2C_in_a_Rare_Moment_of_Relative_Sobriety |case: 15=User:Goribus/Barhah |case: 16=User:Zombiegeorge#The_Barhah |case: 17=User:Mayhem2010 |case: 18=User:TripleU/Barhah |case: 19=User:Misanthropy/Sandbox16 |case: 20=Image:Propaganda0.gif |case: 21=Image:Propaganda1.jpg |case: 22=Image:Propaganda2.jpg |case: 23=Image:Propaganda3.png |case: 24=Image:Propaganda4.jpg |case: 25=Image:Propaganda5.jpg |case: 26=Image:Propaganda6.jpg |case: 27=Image:Rrfposter00.jpg |case: 28=Image:Rrfposter01.jpg |case: 29=Image:Rrfposter07.jpg |case: 30=Image:Rrfposter08.jpg |case: 31=Image:Rrfposter14.jpg |case: 32=Image:Rrfposter03.jpg |case: 33=Image:EatBabies.jpg |case: 34=Image:Destroy & Feed.jpg |case: 35=Red Rum |case: 36=RDD |case: 37=Undeadites |case: 38=Extinction |case: 39=Dead Hand |case: 40=March into the sea |case: 41=Philosophe Knights |case: 42=Cobra |case: 43=Feral Undead |case: 44=Annus Horribilis |case: 45=St. Ferreol's Hospital Noise Abatement Society |case: 46=Militant Order of Barhah |case: 47=The_Ridleybank_Resistance_Front |case: 48=Philosophe Knights/Recruitment |case: 49=Cobra/Recruitment |case: 50=Category:Recruitment#Feral_Undead:_Zombie_Group |case: 51=Annus Horribilis/rec |case: 52=St. Ferreol's Hospital Noise Abatement Society/recruit |case: 53=Militant Order of Barhah/Recruitment |case: 54=The Ridleybank Resistance Front/recruit |case: 55=User:Thanatologist/Sandbox/00 |case: 56=User:Penguinpyro/PequilieatSurprise |case: 57=User:Chief_Seagull/Haggaz |case: 58=User:Vapor/sandbox/Harmantashen |case: 59=User:TripleU/Contest |default=RRF/Malton_Herald_&_Sun }}}}

You should be able to spray your heart's content and still get your message across. The images will need to be tweaked a bit since they don't work with inclusions like pages do. But this is as close as you're going to get to your original idea. ~Vsig.png 07:27, 10 March 2011