Kim Possible Wiki
Advertisement
Forums: Index > Downtown Middleton > Random Content on the Main Page (replywatch)


Random Character[]

Well, I have the randomization code for the characters on the Main Page done. If anyone wishes to add more characters to the random list go to Template:Random character and add that character to the template.

Help[]

To add a new character, scroll down until you see the following:

| #default = {{Main page/Random
| name = Default
| image = Kim-Possible-Random.jpg
| image-float = left
| description = Default. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lectus nisl, pretium sed congue sed, accumsan facilisis orci. Sed risus turpis, tempus non, hendrerit id, fringilla ut, dui. Nullam sapien. Nam magna. Quisque dapibus sem ornare risus condimentum commodo.}}

Before this section of code you need to add something in this format:

| ''Selection Tag'' = {{Main page/Random
| name = ''Article Name''
| link-text = ''Link Text''
| image = ''Image Name''
| image-float = left
| description = ''Description''}}

Description of input:

  • Selection Tag: This is the short tag that will be added to the random code on the main page to allow for the selection.
  • Article Name: This is the name of the article for this character. Make sure that this is the same text as the article link because that is what it is used for.
  • Link Text: This tag is not required. In fact, if you do not need to change the link text shown from that of the article name you need to completely delete this line. If you need to display different link text than the article name then place that text here.
  • Image Name: This is the name of the image to display. Do not place anything on this line other than the file's name.
    • If you need to make the image you need to save an image that is exactly 124 pixels wide by 200 pixels tall. Name the file the subject's name, with hyphens, followed by "-Random". For example, "Kim-Possible-Random.jpg".
  • DO NOT change anything on the image-float line.
  • Description:This is the description that goes next to the image. Make sure that you place links in this description and keep the displayed text to less than 330 characters in length.

Look to other entries for examples if you are confused or ask for help at the help desk forum.

Mknopp (talk) 20:49, February 21, 2013 (UTC)

Advertisement