|
|
Line 16: |
Line 16: |
| == Help with User Page == | | == Help with User Page == |
| | | |
− | '''<big>Question Here</big>''' If I have missed this on the termplate page sorry. Is there a template or a way to just input a person's profile name and be sent to his or hers profile?<br>{{User:DavidAHare/Sig}} 20:15, 11 September 2008 (BST)
| |
− | :<span style="color:#060">I'm not entirely sure what you're talking about, but if you want to link to someone's user page, then use <tt><nowiki>[[User:Belgrave|Belgrave]]</nowiki></tt> which gives [[User:Belgrave|Belgrave]]. If you're linking to their game profile page, then use <tt><nowiki>[http://www.fallensword.com/index.php?cmd=profile&player_id=699681 Belgrave]</nowiki></tt> which gives [http://www.fallensword.com/index.php?cmd=profile&player_id=699681 Belgrave]. If you need more help, visit the help page for links I put on my user page.</span><br>{{User:Belgrave/Sig}}
| |
− |
| |
− |
| |
− | I was looking at just enterring their profile name and it would go to their profile. I am trying to build a template which would show the Item Type, Item Name, Hellforge Lvl, Craft Lvl and Borrowed By. I wanted to be able to input just their profile name under the Borrowed By heading and when some one clicked on the name it would go to their profile. I will just have to think of a way to do it.<br>{{User:DavidAHare/Sig}} 20:50, 11 September 2008 (BST)
| |
− | :<span style="color:#060">Unless I am mistaken, you are trying to make a template that takes a player's name and links back to their in-game profile page. That is not possible since the in-game profile page goes by player ID number instead of the player name. If you wanted to do that, you'd need to make a template that requires both the player ID and the player name, perhaps something like</span><pre>[http://www.fallensword.com/index.php?cmd=profile&player_id={{{id}}} {{{name}}}]</pre>{{User:Belgrave/Sig}}
| |
− |
| |
− |
| |
− | I figured as much but I was not sure. I will figure a way to do what I want it to do. I like what you have though, but I would have to have 19 templates for the 19 members of the guild. I am sort of looking at something that you would have all the information already in the template because the higher the membership goes up the number of templates will also go up. Plus I am also looking at if a member leaves or gets kicked then you would have to delete that template or am I seeing something that is not there.<br>{{User:DavidAHare/Sig}} 23:47, 11 September 2008 (BST)
| |
− | :<span style="color:#060">The idea above would only require one template using the exact code I posted above. To use it, you'd put <tt><nowiki>{{TemplateName|id=699681|name=Belgrave}}</nowiki></tt> or whatever the ID and name of that specific player are. IF we had Extension:ParserFunctions already, it would be possible to make a template that would be able to choose an ID from a list based on the name passed to the template.</span><br>{{User:Belgrave/Sig}}
| |
− |
| |
− |
| |
− | I see. I just need to sit back and stop for awhile on my little project. I need to use your rules that you have in your Wiki tips. {{User:DavidAHare/Sig}} 00:02, 12 September 2008 (BST)
| |
− | :<span style="color:#060">Sit back... find something else to do... contribute to other areas of the wiki. There are many pages that need updated. Immerse yourself in the code, see how it works, and try becoming an expert. The [[Helping Out]] page can offer you a place to get started. Also, use my help links. I'd be embarrassed if I counted how many times I still need to look things up!</span><br>{{User:Belgrave/Sig}}
| |
− |
| |
− | Why when I try to use this code <nowiki>[[Gloves]]</nowiki> or any of the other Items it will not go to the page that <nowiki>{{Gloves}}</nowiki> goes to. I know that <nowiki>{{Gloves}}</nowiki> is a template, because it says that at the bottom of the page. I was trying to make an outline and it messes it up because the information on the next line has 2 ** in front of it. I am going to try something like this <pre>[http://www.fallensword.com/index.php?cmd=profile&player_id={{{id}}} {{{name}}}]</pre> where I put the address to the page and then the name of the page and maybe it will correct it. Here is an example of what is happening.<br>
| |
− | *[[Gloves]]
| |
− | ** [[Gloves of Airilos]] The above code <nowiki>[[Gloves]]</nowiki> will give the right way here,
| |
− | *{{Gloves}}
| |
− | ** [[Gloves of Airilos]] The code above this line <nowiki>{{Gloves}}</nowiki> gives an extra square in front of the name of the gloves.
| |
− | <br>{{User:DavidAHare/Sig}} 02:31, 13 September 2008 (BST)
| |
− | :<span style="color:#060">Templates automatically insert a newline at the end and that is why you are getting that. If you want to just make a link to a category, use <tt><nowiki>[[:Category:Gloves|Gloves]]</nowiki></tt>.</span><br>{{User:Belgrave/Sig}}
| |
− |
| |
− |
| |
− | Thank You for the above information. '''Question concerning StatBox Template''' Is there a way to change the bacgrouind color of the stats area from black to white or a lighter color and also is there a way to include the Enhancements in there as well. I am having trouble reading the information in that area. I know there was information about adding different styles of how the information was displayed and such, but I do not remember if the 2 items I am wondering about were address.<br>{{User:DavidAHare/Sig}} 17:33, 13 September 2008 (BST)
| |
− | :<span style="color:#060">[[Template:Statbox]] is an advanced template and I don't recommend you use it if you don't know what you're doing. If you do want to use it, you can always look at the code to see where the parameters are applied. Right now there is no way to add in the enhancements or take out the unused stats. I'll probably be remaking that template when/if we get Extension:ParserFunctions.</span><br>{{User:Belgrave/Sig}}
| |
− |
| |
− |
| |
− | '''Question concerning adding the editting funtion to a page/section''' I understand how to make a page editable by having the + next to the page name. But I tried to put this <nowiki>&action=edit edit or | action=edit</nowiki> and neither of them worked. I have seen different sections in the new Item templates you have built. Below is some of the code from the page which I did not use the <nowiki><nowiki></nowiki></nowiki> to show what I wanted to do.<br>
| |
− |
| |
− | {| width="100%" cellpadding="3" style="background-color: transparent;"
| |
− | ! colspan="4" align="center" style="background-color: #C38D37; -moz-border-radius:15px" | <!--Best Player (Want to be able to edit section with out having to edit whole page)-->
| |
− | ===Best Player===
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/3_4.gif
| |
− | | width="150" style="background-color: #e5c173;" | '''Best Player Crystal'''
| |
− | | style="background-color: #e5c173;" | Be the No. 1 player for at least 180 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/3_3.gif
| |
− | | width="150" style="background-color: #e5c173;" | '''Best Player Gold'''
| |
− | | style="background-color: #e5c173;" | Be the No. 1 player for at least 90 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/3_2.gif
| |
− | | style="background-color: #e5c173;" | '''Best Player Silver'''
| |
− | | style="background-color: #e5c173;" | Be the No. 1 player for at least 30 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/3_1.gif
| |
− | | style="background-color: #e5c173;" | '''Best Player Bronze'''
| |
− | | style="background-color: #e5c173;" | Be the No. 1 player for at least 7 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |-
| |
− | |
| |
− | |
| |
− | |
| |
− | |-
| |
− | ! colspan="4" align="center" style="background-color: #C38D37; -moz-border-radius:15px" | <!--Top 100 (Want to be able to edit section with out having to edit whole page)-->
| |
− | ===Top 100===
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/2_4.gif
| |
− | | style="background-color: #e5c173;" | '''Top 100 Crystal'''
| |
− | | style="background-color: #e5c173;" | Be in the top 100 players for at least 180 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/2_3.gif
| |
− | | style="background-color: #e5c173;" | '''Top 100 Gold'''
| |
− | | style="background-color: #e5c173;" | Be in the top 100 players for at least 90 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/2_2.gif
| |
− | | style="background-color: #e5c173;" | '''Top 100 Silver'''
| |
− | | style="background-color: #e5c173;" | Be in the top 100 players for at least 30 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |-
| |
− | | style="background-color: #e5c173;" | http://66.7.192.165//medals/2_1.gif
| |
− | | style="background-color: #e5c173;" | '''Top 100 Bronze'''
| |
− | | style="background-color: #e5c173;" | Be in the top 100 players for at least 7 days (in total).
| |
− | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next Medal|00|6=#e5c173}}
| |
− | |}
| |
− | <br> If this is not possible with the way I have writen the code then that is alright to. I just thought I would try to make it easier to edit. I also may try to make this a template.<br>{{User:DavidAHare/Sig}} 19:30, 14 September 2008 (BST)
| |
− | :<span style="color:#060">If you're not putting each one into a separate page, the only way to do that would be to make the headers into wiki section headers such as <tt><nowiki>==== Top 100 ====</nowiki></tt>. I'm not sure how well it would work, and it might not look too good either.</span><br>{{User:Belgrave/Sig}}
| |
− |
| |
− | I inputed <tt><nowiki>==== Best Player ====</nowiki></tt> and <tt><nowiki><!--Best Player--></nowiki></tt> in to the code to input one thing and deleted one thing and it looks fine except for the line that gets put under Best Player. I am going to assume that you have to save the page with each topic section like this <tt><nowiki>/* Best Player */ </nowiki></tt> in the Summary field. I have found that my last sentence not to be correct but I have found that here in the talk page it shows the edit but on the my page in my profile I do not get the edit function.<br>{{User:DavidAHare/Sig}} 20:39, 14 September 2008 (BST)
| |
| | | |
| '''Question''' | | '''Question''' |
| I may have found a way to make my tab area smaller, but I need to know if theses div classes will work in this Wiki. Here they are. <span style="color:#090"><tt>div class="NavFrame",</tt></span> <span style="color:#090"><tt>div class="NavHead",</tt></span> and <span style="color:#090"><tt>div class="NavContent"</tt></span> I have found on another Wiki they did it by using these 3 div classes and other codes to go along with them. I have not used scripts in the html pages I have built unless it was copied from another code so I am not to versed in that type of programing. That is why I ask alot of questions dealing with that type of coding. I also have not gotten into the more advanced programing styles. All I have done is just the basic type of Web page programing and the WIKI is different then that so I am learning how to program in that way since some of what I do know of HTML programing does not work or works in a different way. If the above div classes will not work then I think I may have a way to do something like what has been done on the other Wiki.<br>{{User:DavidAHare/Sig}} 17:54, 16 September 2008 (BST) | | I may have found a way to make my tab area smaller, but I need to know if theses div classes will work in this Wiki. Here they are. <span style="color:#090"><tt>div class="NavFrame",</tt></span> <span style="color:#090"><tt>div class="NavHead",</tt></span> and <span style="color:#090"><tt>div class="NavContent"</tt></span> I have found on another Wiki they did it by using these 3 div classes and other codes to go along with them. I have not used scripts in the html pages I have built unless it was copied from another code so I am not to versed in that type of programing. That is why I ask alot of questions dealing with that type of coding. I also have not gotten into the more advanced programing styles. All I have done is just the basic type of Web page programing and the WIKI is different then that so I am learning how to program in that way since some of what I do know of HTML programing does not work or works in a different way. If the above div classes will not work then I think I may have a way to do something like what has been done on the other Wiki.<br>{{User:DavidAHare/Sig}} 17:54, 16 September 2008 (BST) |
| + | :<span style="color:#060">Let me know the page/other wiki and I'll take a look at it to see if it would work here. In the meantime, without knowing the code behind it, I am very likely to say no, it won't work.</span><br>{{User:Belgrave/Sig}} |
| | | |
| == Question??? == | | == Question??? == |
Okay, I tried that, but all it does is write "Template:The Hunted Cow Tippers/Gear 1-100" with a link to a page that doesn't exist. Could you help me out? It's under the Gear section of this page. Sinho6 20:59, 7 September 2008 (BST)