Difference between revisions of "User talk:Pedalpusher/sandbox/testTemplate"

From Geohashing
imported>Pedalpusher
(single template?)
imported>Pedalpusher
(Single Template: added note)
Line 7: Line 7:
 
--[[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 10:02, 8 October 2015 (EDT)
 
--[[User:Sourcerer|Sourcerer]] ([[User talk:Sourcerer|talk]]) 10:02, 8 October 2015 (EDT)
  
:The problem with a single template is that there isn't a way to change the Icon based on the if statements from the action of the template. If someone knows how to do this, then that is really the only barrier. Unless, of course, we want to just remove the ribbon for the initial challenge and use the second ribbon for everything, that would also work. I'll set something up and link to that from my test template page for the single template option in the next few days. [[User:Pedalpusher|Pedalpusher]] ([[User talk:Pedalpusher|talk]]) 11:34, 12 October 2015 (EDT)
+
:<strike> The problem with a single template is that there isn't a way to change the Icon based on the if statements from the action of the template. If someone knows how to do this, then that is really the only barrier. </strike> Unless, of course, we want to just remove the ribbon for the initial challenge and use the second ribbon for everything, that would also work. I'll set something up and link to that from my test template page for the single template option in the next few days. [[User:Pedalpusher|Pedalpusher]] ([[User talk:Pedalpusher|talk]]) 11:34, 12 October 2015 (EDT)
 +
 
 +
::I'm figuring out wiki if statements and should have a viable single template soonish. Within a week or so anyway. [[User:Pedalpusher|Pedalpusher]] ([[User talk:Pedalpusher|talk]]) 12:19, 12 October 2015 (EDT)

Revision as of 16:19, 12 October 2015

Single Template

Could the challenge and achievement be made into a single template? We'd leave the old template in place so past achievements stay intact. I'm happy with your template text.

  • user1 sets the challenge - this makes the first version of the ribbon.
  • user1 (as before) and user2 meets the challenge - this makes the second version of the ribbon. The presence of user2 determines which text is displayed.

--Sourcerer (talk) 10:02, 8 October 2015 (EDT)

The problem with a single template is that there isn't a way to change the Icon based on the if statements from the action of the template. If someone knows how to do this, then that is really the only barrier. Unless, of course, we want to just remove the ribbon for the initial challenge and use the second ribbon for everything, that would also work. I'll set something up and link to that from my test template page for the single template option in the next few days. Pedalpusher (talk) 11:34, 12 October 2015 (EDT)
I'm figuring out wiki if statements and should have a viable single template soonish. Within a week or so anyway. Pedalpusher (talk) 12:19, 12 October 2015 (EDT)