Template:UDGame/Guide: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 120: | Line 120: | ||
:You can create "random" events for the same action by using the [[Template:Switch|{{UDLink|Switch}}]] template. This can be done by placing it on the link part of a template, such as [[Template:UDAction|{{UDLink|UDAction}}]]. For example: | :You can create "random" events for the same action by using the [[Template:Switch|{{UDLink|Switch}}]] template. This can be done by placing it on the link part of a template, such as [[Template:UDAction|{{UDLink|UDAction}}]]. For example: | ||
:I'm sticking the switch template in the link spot, so in this case the link changes depending on the hour, designated by the number. The same thing can be done with day of the week, or time (except time will take hours to do). This creates a little bit of variance for important, high-use actions. In this case, the action is ''Dodge out of the way'' and the possible outcomes, depending on the | :I'm sticking the switch template in the link spot, so in this case the link changes depending on the hour, designated by the number. The same thing can be done with day of the week, or time (except time will take hours to do). This creates a little bit of variance for important, high-use actions. In this case, the action is ''Dodge out of the way'' and the possible outcomes, depending on the hour can be to the left, right, forward, backward or at an angle. Remember, none of these can result in a dead-end or a situation where the character can get stuck because all actions lead to their death. Otherwise, they're stuck and might need to wait an hour. | ||
:There's no true way of getting randomness to my knowledge. If you're finding that the action won't change (switch), it's either because you screwed up the code there are caching issues with your browser. | :There's no true way of getting randomness to my knowledge. If you're finding that the action won't change (switch), it's either because you screwed up the code or there are caching issues with your browser. | ||
===<span id="Death">{{C|#bcb| Death}}</span>=== | ===<span id="Death">{{C|#bcb| Death}}</span>=== | ||
:''WIP'' | :''Not WIP. See main template.'' | ||
==={{C|#bcb| Being both efficient and pedantic}}=== | ==={{C|#bcb| Being both efficient and pedantic}}=== | ||
:It's important to try to be as efficient as possible when creating pages, as taking the slow routes is a pain in the ass and can lead to burnout or laziness. It's also good to be really pedantic about. If you're careful about checking over each of your edits (use show preview), you won't need to go back and fix things constantly, slowing you down in the process. | :It's important to try to be as efficient as possible when creating pages, as taking the slow routes is a pain in the ass and can lead to burnout or laziness. It's also good to be really pedantic about it. If you're careful about checking over each of your edits (use show preview), you won't need to go back and fix things constantly, slowing you down in the process. | ||
:'''Edit URLs for repetitive edits''' - Often times when I'm making "duplicate" blocks, ie. ones that have only a few changes such as an item I'll only add one other # or letter to the page name. Then, all I have to do is go to the new page, change the URL to the old one, copy code + paste it back in the new one and make the changes. Ex. title=Template:UDGame/Guide'''2'''&action=edit -> title=Template:UDGame/Guide&action=edit (copy code) -> title=Template:UDGame/Guide'''2'''&action=edit (paste code and make changes). It makes adding new items a lot easier and much more efficient. | :'''Edit URLs for repetitive edits''' - Often times when I'm making "duplicate" blocks, ie. ones that have only a few changes such as an item I'll only add one other # or letter to the page name. Then, all I have to do is go to the new page, change the URL to the old one, copy code + paste it back in the new one and make the changes. Ex. title=Template:UDGame/Guide'''2'''&action=edit -> title=Template:UDGame/Guide&action=edit (copy code) -> title=Template:UDGame/Guide'''2'''&action=edit (paste code and make changes). It makes adding new items a lot easier and much more efficient. | ||
Line 134: | Line 134: | ||
==={{C|#bcb| Troubleshooting}}=== | ==={{C|#bcb| Troubleshooting}}=== | ||
:'''I'm getting black text''' | :'''I'm getting black text''' | ||
::''You've probably messed up the template by creating | ::''You've probably messed up the template by creating manuall breaks, such as [[Template:UDAct|{{UDLink|UDAct}}]]. Use the <nowiki><br></nowiki> tags instead.'' | ||
:'''The template looks all broke''' | :'''The template looks all broke''' | ||
::''You've likely forgot to close a tag <nowiki>}}</nowiki> on one of the templates.'' | ::''You've likely forgot to close a tag <nowiki>}}</nowiki> on one of the templates.'' |
Latest revision as of 03:40, 30 July 2010
Guide
|