- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
User:Halcy/Rewrites: Difference between revisions
imported>Halcy |
imported>Halcy |
(No difference)
|
Revision as of 19:53, 29 April 2012
Since wiki syntax can be ballbreaking, I'm writing common problems with that shit. If you have more problems/questions ask me on my talk page or email me.
Quote/Template Troubles with symbols
When dealing with templates, you have to be careful with certain symbols within it.
This, of course, is not exclusive to the {{quote}} template but I shall simply use that as an example. Normally, any funny text that gets featured will be within the {{quote}} or {{squote}} templates. The latter is simply the former but with smaller text and more ideal for longer quotes.
Normally, featuring this quote would lead me to type the following:
{{quote|All You Women Calling Yourselves #DIVA'S! DIVA = DILDO'S IN VIGINA ALWAYS. U DYKES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!|Robert E. Wilson}}
There is a problem with this. If I simply had that, then this would appear:
The actual quote is gone because of the equal sign (=) within the text. In templates, the equal sign is used to indicate certain aspects of the template if there are. To fix this problem is to simply replace it with {{=}}:
{{quote|All You Women Calling Yourselves #DIVA'S! DIVA {{=}} DILDO'S IN VIGINA ALWAYS. U DYKES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!|Robert E. Wilson}}
Now with the modified syntax, I can safely feature the quote properly.
—Robert E. Wilson |
Important: the same is applied to vertical bars/pipes (|)
In links
You also have to be aware of equal signs in links.
{{quote|Example text|Author|[http://encyclopediadramatica.se/index.php?title=Encyclopedia_Dramatica:Thizzlehat_Junction_Center&action=history link]}}
Now I want you to pay attention to the link and notice that it does contain equal signs. With the unfixed syntax this will appear:
—Author |
The link is gone. To fix this, you will need a URL shortner (bit.ly, tinyurl etc). I am going to use bit.ly and got this url: http://bit.ly/Ko9Fpz
So now the fixed syntax:
{{quote|Example text|Author|[http://bit.ly/Ko9Fpz link]}}
and the fixed template:
—Author, link |