Difference between revisions of "User:Hananack/My Wiki Codes memo page"

From Dungeons and Dragons Wiki
Jump to: navigation, search
Line 27: Line 27:
 
after the word needed to add reference add <nowiki><ref>"text here"</ref></nowiki> the text here will be shown at the bottom of the page. remember to add <nowiki><references/></nowiki> at the place to show the references
 
after the word needed to add reference add <nowiki><ref>"text here"</ref></nowiki> the text here will be shown at the bottom of the page. remember to add <nowiki><references/></nowiki> at the place to show the references
  
==how to add explanations at the edit page that will not be counted as wiki text and will not be shown at the article=
+
==how to add explanations at the edit page that will not be counted as wiki text and will not be shown at the article==
 
write it between
 
write it between
 
  <nowiki><!-- text goes here --></nowiki>
 
  <nowiki><!-- text goes here --></nowiki>

Revision as of 23:54, 9 January 2010

why do i need this page?

here ill memo the codes that i learned so i will not need to look for them all around.

the <nowiki></nowiki> Code

this code disables the wiki coding for everything between the <nowiki></nowiki> signs. its usable to show the needed codes within an article without actually using the code. to make it show the text in a white box i need to add one space before the first <nowiki>. for example:

 <nowiki>{{Stat Block 2
|summary=
|name=
|al= |size= |type=
|init= |listen= |spot=
|ac= |touch= |flat=
|hp= |hd=
|fort= |ref= |will=
|spd=
|bab= |grp=
}}</nowiki>

how to add summary

find a describing sentance it the text and add [[summary:text here]]

how to make some stuff from the edit page to not appear at the article

add it between <span style="display:none">text here</span> for example on the article of Glowcap Mushrooms (3.5e Equipment) i wanted to add summary that will not show in article so i did it like this

<span style="display:none"> [[Summary::A form of mushroom found growing underground in dungeons that can be used as spell enhancment component]]</span>

how to make references

after the word needed to add reference add <ref>"text here"</ref> the text here will be shown at the bottom of the page. remember to add <references/> at the place to show the references

how to add explanations at the edit page that will not be counted as wiki text and will not be shown at the article

write it between

<!-- text goes here -->