Coding help

Hello! Would you like to help make pages or fill in content for Daevapedia Wiki, but the coding side of things has made you rather worried? Or, maybe, you'd rather have something easy to copy+paste into the new page so things look uniform-ish? Then this is the page for you! (and me!)

## How it works

If you'd like to make a new page, whether it be a character, a location, a group, or an item; find the suitable template below and copy+paste it into the new page. From there you can adjust it as needed. The first half of the code is for the sidebar/fast details, and the last half is for the header/in-depth info.

* **For the sidebar coding,** just fill in the info you know after the equal sign, and leave blank the rest -- it won't show up on the page if there's no data. Also FYI, you can't change/add additional lines without changing the core template.

* **For the header coding,** you add or delete the sections as needed. The scroll coding under the References header will keep the footnote links in a scroll-able box, which is neat.

If you need further help with the markup coding, you can check out Help:Wikitext, Help:Cite, Category:Help, and Help:Contents.

As you are filling in info on your new page, please try to reference where that info is coming from, whether it's from the books, or Twitter, etc.

## Nice little codes

### References

```
<ref></ref>

Examples:
"He was an easy mark."<ref>The City of Brass, ch. 1, pg. 1</ref>

When referencing the same item multiple times, it's better to use this code first...
<ref name="cob1">The City of Brass, ch. 1, pg. 1</ref>

...and then this code for all additional items that also reference it.
<ref name="cob1" />

Example:
"He was an easy mark."<ref name="cob1">The City of Brass, ch. 1, pg. 1</ref>
and "Nahri always smiles at her marks."<ref name="cob1" />

When referencing websites, use this code:
<ref>[https://twitter.com/SAChakrabooks S.A. Chakraborty's Twitter page]</ref>
You copy+paste the link, then put a space and write the site's name, etc.

```
Example:

Nahri always smiled at her marks.
Latest news can be found on the author's Twitter page.

Referencing the books or online sites when posting information on this wiki is awesome! You should definitely do it, if you're going to post here. :) The items referenced will show up at the bottom of the page.

### Quotes

```
{{Quote

```
Example:

> "*He was an easy mark.*"
> ― Nahri [source]
>
>

* If you use the ref code for the quote source, it will link at the bottom of the page, under references. If you use the source line, it will show with the quote, and NOT at the bottom of the page. Don't use both of them. And if you don't use the ref code, delete it, otherwise it will show an error.

### Tables

```
{| class="wikitable sortable" width="90%" border="1"
! [[File:Sigils-daeva.png|center]]
! [[File:Sigils_geziri.png|center]]
<br clear="all" />

```
Example:

Adjust the table coding as needed; I left the sigil examples in the coding so you'd know which lines are attributed to where.

* Tables are nice, but be aware it will look different on Mobile, so don't use it if you don't have to.

### For the Q&A pages

```
==== text ====
'''Question:'''

'''Shannon:'''

<div class="div2">source: [link]</div>

```

A little template for the Worldbuilding Questions & Answers pages, just to keep it uniform.

## Templates

### Character Template

```
{{infobox character
 * [[The City of Brass]]
 * [[The Kingdom of Copper]]
 * [[The Empire of Gold]]
 }}

(introduction)

== History ==
===Early Life===

=== Events during City of Brass ===

=== Events during Kingdom of Copper ===

=== Events during Empire of Gold ===

== Characteristics ==
=== Appearance ===

=== Personality ===

=== Abilities ===

=== Outfits ===

== Relationships ==

== Quotes ==

== Trivia ==

== References ==
{{scroll|{{reflist}}}}
[[Category:Characters]]
[[Category:A to Z]]

```

For an example, check out: Alizayd al Qahtani, Elashia

### Group Template

```
{{Infobox group

(introduction)

== History ==

=== Events during The City of Brass ===

=== Events during The Kingdom of Copper ===

=== Events during The Empire of Gold ===

== Description ==

=== Powers and Abilities ===

== Notable Members ==

== Relation to other tribes ==

== Quotes ==

== Trivia ==

== References ==
{{scroll|{{reflist}}}}
[[Category:Groups]]
[[Category:A to Z]]

```

For an example, check out: Ifrit, Marid

### Location Template

```
{{Infobox location

(introduction)

== History ==

== Population ==

== Culture ==

=== Language ===

=== Cuisine ===

=== Clothing ===

== Politics ==

=== Regarding shafit ===

=== Relation to other tribes ===

== Economy ==

== Military ==

== Notable Areas ==

== Notable Figures ==

== Trivia ==

== References ==
{{scroll|{{reflist}}}}
[[Category:Locations]]
[[Category:A to Z]]

```

For an example, check out: Qui-zi, Daevabad

* For the sidebar images, the first image will appear near the top, and the second image/map will be at the bottom. Depending on the location, you might want to use the world map, or Daevabad (Map\_daevabadcity.png).

### Item Template

```
{{infobox item

(introduction)

== Description ==

=== Purpose ===

== History ==

== Quotes ==

== Trivia ==

== References ==
{{scroll|{{reflist}}}}
[[Category:Objects]]
[[Category:A to Z]]

```

For an example, check out: Zulfiqar, Slave Vessel

## References

1. ↑ 1.0 1.1 The City of Brass, ch. 1, pg. 1
2. ↑ S.A. Chakraborty's Twitter page