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

From Dungeons and Dragons Wiki
Jump to: navigation, search
(how to add summary)
Line 20: Line 20:
 
  <nowiki>[[Summary::text here]]</nowiki>
 
  <nowiki>[[Summary::text here]]</nowiki>
 
'''''to add an unseen summary in the page'''''
 
'''''to add an unseen summary in the page'''''
  <nowiki><span style="display:none"> [[Summary::text here]]</span></nowiki>
+
  <nowiki><span style="display:none"> [[Summary::text here]]</span></nowiki><br>
dont forget the two:: after the word "Summary"
+
dont forget the two:: after the word "Summary"<br>
 +
or
 +
<nowiki>{{#set:Summary=text here}}</nowiki>.
  
 
==how to make some stuff from the edit page to not appear at the article==
 
==how to make some stuff from the edit page to not appear at the article==

Revision as of 20:24, 15 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]]

to add an unseen summary in the page

<span style="display:none"> [[Summary::text here]]</span>

dont forget the two:: after the word "Summary"
or

{{#set: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 -->

examle of "back to.. line"

Back to [[Main Page]] → [[Dungeons and Dragons]] → [[3.5e Equipment|Equipment]]

add an author template

{{author
|author_name=enter text here
|date_created=enter text here
|status=enter text here
|
}}

template of adding a table with summary by categories

for example this table will collect all articles with 3.5e, user, equipment, alchemical and mundane categories

{| class="sortable d20" style="text-align: left;"
! Name !! Summary
{{#ask: [[Category:3.5e]] [[Category:User]] [[Category:Equipment]] [[Category:Alchemical]] [[Category:Mundane]]
|?Summary
|format=template
|template=Table Row
|limit=9999
|link=none
}}
|}