Difference between revisions of "User talk:Pedalpusher/sandbox/testTemplate"
From Geohashing
imported>Pedalpusher (→Single Template: added note) |
m (→Single Template: question) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Single Template == | == 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. | 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. | ||
Line 10: | Line 11: | ||
::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) | ::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) | ||
+ | |||
+ | :Ok, I have a setup for the single template option and added a link to that template. [[User:Pedalpusher|Pedalpusher]] ([[User talk:Pedalpusher|talk]]) 11:36, 14 October 2015 (EDT) | ||
+ | |||
+ | :: So it's available for general use now? [[User:Arlo|Arlo]] ([[User talk:Arlo|talk]]) 12:51, 23 December 2021 (UTC) |
Latest revision as of 12:51, 23 December 2021
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)
- Ok, I have a setup for the single template option and added a link to that template. Pedalpusher (talk) 11:36, 14 October 2015 (EDT)