Wikia

Dungeons and Dragons Wiki

Hananack/My Wiki Codes memo page

Talk2
9,570pages on
this wiki

< User:Hananack

Revision as of 17:59, January 22, 2010 by Hananack (Talk | contribs)

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 in 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
}}
|}

how to make a link to some section in the same page or section in other page

To make a link to a section of a page, use the following syntax:

  • [[#B]] links to the section titled "B" on the current page (for example, #Wikilinks links to the Wikilinks section on this page).
  • [[A#B]] links to the section titled "B" on page "A".

The section title in fact points to an anchor on the target page. It is possible to define anchors other than explicit section titles, using the HTML code <span id="anchor_name">...</span>, or the template {{Anchor|anchor name}} (see {{Anchor}} syntax). However [[#top]] is a reserved name that links to the top of a page.

text in a box

<div style="border: 2px outset; padding: 1em;">
{|class="{{d20}} collapsible hidden" style="width:75%; text-align:left;"
|+ write your box name here
|-
| style="border: 0;" | 
add text here
|}
</div

Another way to make text in a box

upper text

to make text appear above use:

<sup>text here</sup>

Around Wikia's network

Random Wiki