Guide to Coding
|
by Daffødils
|
my message wall
spacer
my f2u format
|
|
Close the Contents before conintuing!
|
This guide has been up for: |
|
The Basics[]
Creating a Page
Creating a Blogpost
Creating a Sandbox
User:Your Username Here/Sandbox
Rudimentary Text Formatting[]
Simple Formatting
1. BOLD TEXT
'''text here'''
''text here''
<u>text here</u>
<s>text here</s>
Using Tags
1. DIV
- Div is both the most common and the most efficient tag, in my opinion. It can override most code and can operate a wide range of customizations.
<div style="insert values">text here</div>
- Font isn't too awful, but it can only do a few things. However, it is extremely simple.
<font face="value here"><font color="value here">text here</font></font>
- Span is a lot like Div, just not as common.
<span style="insert values">text here</span>
Applying Different Text Alignment
1. CENTER
- Center doesn't have to be used only on text, it can also be done with tables and images, too!
<center>text here</center>
- Text align can be used in Div tags and Span tags.
- You can do left align, right align, or center align.
<div style="text-align: value;">text here</div> OR <span style="text-align: value;">text here</span>
Text Colors
1. COLOR NAMES
- These include:
- Red
- Orange
- Yellow
- Green
- Cyan
- Blue
- Purple
<div style="color: value here;">text here</div> OR <font color="value here">text here</font>
- Visit this site and copy the code under "HEX"
<div style="color: #value;">text here</div>
Advanced Text Formatting[]
Div Classes
1. APPLICATION
<div class="value here">text here</div>
1A. LIST OF CLASSES
- These are by name, so you can just copy and paste them into the code set up above. (Hint: try hovering over some!)
scanimation
|
wisp-header-hover
|
firefly-hover
|
swing |
nox
|
spin
|
upbump
|
content-tab
|
underline-on-hover
|
flicker
|
zoom
|
Links
1. TO A WIKI PAGE/BLOG/SANDBOX
[[Page| title]]
[https://www.google.com title]
3. COLORED LINKS
[[Page| <font color="value">title</font>]] OR [https://www.google.com <font color="value">title</font>]
Text Placement
Example:
<div style="position: absolute; left: -px; top: -px;">text here</div>
Borders[]
Borders Around Text
1. BASIC BORDER
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<div style="border: -px solid value; width: -px; height: -px;"> <span style="font-family: value; font-size: -px; color: value; text-align: value;">text here</span> </div>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<div style="border: -px double value; width: -px; height: -px;"> <span style="font-family: value; font-size: -px; color: value; text-align: value;">text here</span> </div>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<div style="border: -px dotted value; width: -px; height: -px;"> <span style="font-family: value; font-size: -px; color: value; text-align: value;">text here</span> </div>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<div style="border: -px dashed value; width: -px; height: -px;"> <span style="font-family: value; font-size: -px; color: value; text-align: value;">text here</span> </div>
Borders Around Images
1. SIMPLE IMAGE BORDER
<div style="border: -px solid value; width: -px; height: -px; overflow: hidden;">[[File:Placholder.png|center|-px]]</div>
<div style="border: -px solid value; border-radius: 20px; width: -px; height: -px; overflow: hidden;">[[File:Placholder.png|center|-px]]</div>
<div style="border: -px solid value; border-radius: 20px 20px 0px 0px; width: -px; height: -px; overflow: hidden;">[[File:Placholder.png|center|-px]]</div>
<div style="border: -px solid value; border-radius: 0px 0px 20px 20px; width: -px; height: -px; overflow: hidden;">[[File:Placholder.png|center|-px]]</div>
Tables[]
1. BASIC HORIZONTAL TABLE
What | A | Nice | Table |
info | info | info | info |
{| class="article-table" border="0" cellpadding="1" cellspacing="1" style="margin: 0px auto; width: -px; text-align: value; background: #value" |- | style="border: -px solid value" |<font color="value">What</font> | style="border: -px solid value" |<font color="value">A</font> | style="border: -px solid value" |<font color="value">Nice</font> | style="border: -px solid value" |<font color="value">Table</font> |- | style="border: -px solid value; background: white;" |<font color="black">info</font> | style="border: -px solid value; background: white;" |<font color="black">info</font> | style="border: -px solid value; background: white;" |<font color="black">info</font> | style="border: -px solid value; background: white;" |<font color="black">info</font> |}
I | info |
Like | info |
This | info |
One | info |
{| class="article-table" border="0" cellpadding="1" cellspacing="1" style="margin: 0px auto; width: -px; text-align: value; background: #value" |- | style="border: -px solid value" |<font color="value">I</font> | style="border: -px solid value; background: white;" |<font color="black">info</font> |- | style="border: -px solid value" |<font color="value">Like</font> | style="border: -px solid value; background: white;" |<font color="black">info</font> |- | style="border: -px solid value" |<font color="value">This</font> | style="border: -px solid value; background: white;" |<font color="black">info</font> |- | style="border: -px solid value" |<font color="value">One</font> | style="border: -px solid value; background: white;" |<font color="black">info</font> |}
This | info |
Is | info |
Good | info |
For | info |
Clans | info |
{| class="box" align="value" cellpadding="2" cellspacing="0" text-align: value; " |- | style="border-bottom: -px solid value; width: 150px;" |'''This''' | style="border-bottom: -px solid value; width: 100px;" |info |- | style="border-bottom: -px solid value; width: 150px;" |'''Is''' | style="border-bottom: -px solid value; width: 100px;" |info |- | style="border-bottom: -px solid value; width: 150px;" |'''Good''' | style="border-bottom: -px solid value; width: 100px;" |info |- | style="border-bottom: -px solid value; width: 150px;" |'''For''' | style="border-bottom: -px solid value; width: 100px;" |info |- | style="border-bottom: -px solid value; width: 150px;" |'''Clans''' | style="border-bottom: -px solid value; width: 100px;" |info |}
Rank (x/x) |
---|
info |
Name | Username | Gender | Age | Mate | Pixel |
---|---|---|---|---|---|
info | info | info | info | info | info |
info | info | info | info | info | info |
{| class="article-table" border="0" style="margin: 0px auto; width: 500px; height: 100px; border: -px solid value;" ! scope="col" style="background: value; text-align: center;" |<font color="value">Rank '''(x/x)'''</font> |- | style="text-align: center; background: white;" | info |} {| class="article-table" border="0" style="margin: 0px auto; width: 500px; height: 30px; border: -px solid value;" ! scope="col" style="background: value; text-align: center;" |<font color="value">Name</font> ! scope="col" style="background: value; text-align: center;" |<font color="value">Username</font> ! scope="col" style="background: value; text-align: center;" |<font color="value">Gender</font> ! scope="col" style="background: value; text-align: center;" |<font color="value">Age</font> ! scope="col" style="background: value; text-align: center;" |<font color="value">Mate</font> ! scope="col" style="background: value; text-align: center;" |<font color="value">Pixel</font> |- | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info |- | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info | style="text-align: center; background: white;" |info |}
How | Nice! |
{| class="article-table" border="0" cellpadding="1" cellspacing="1" style="margin: 0px auto; width: 550px;text-align:center;background:#cb9cdb" |- | style="border: -px solid value" |<font color="black">How</font> | style="border: -px solid value" |<font color="black">Nice!</font> |- | style="border: -px solid value; background: white; height: 300px;" |<font color="black"> <div style="height: 300px; width: 275px; overflow: hidden; overflow-y: scroll;">info</div></font> | style="border: -px solid value; background: white; height: 300px;" |<font color="black"> <div style="height: 300px; width: 275px; overflow: hidden; overflow-y: scroll;">info</div></font> |}
Miscellaneous Extras[]
Scrollers
1. Y SCROLLER
<div style="height: -px; width: -px; overflow: hidden; overflow-y: scroll;">text here</div>
Collapsibles
<div class="mw-customtoggle-value"> <div style="background: value; width: -px; height: -px; border: -px solid value; color: value; text-align: value;">'''Click Me'''</div> </div> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-value"> <div style="background: white; width: -px; height: -px; border: -px solid black; color: value;"> <div style="height: -px; width: -px; overflow: hidden; overflow-y: scroll;">info</div> </div> </div>
Tabbers
<tabber> |-|titleone=info |-|titletwo=info |-|titlethree=info |-|titlefour=info </tabber>
Quotes
“ | Pip pip cheerio! | „ |
{{Quote|text here}}
“ | Pip pip cheerio! | „ |
{{Colored Quote|text here|Color = #value}}
Soundclouds
<soundcloud url="link here" color="#value" height="20" width="21"></soundcloud>
Countdowns
<span style="display: none;" class="countdown"><span class="countdowndate">December 25 2019 01:01:00</span></span>
<span style="display: none;" class="countdown"><span class="countdowndate">December 25 2025 01:01:00</span></span>
Polls
Feedbeck Templates
1. SUPPORT
-(support)
{{support}}
-(neutral)
{{neutral}}
-(oppose)
{{oppose}}
Avatars[]
Display any user's pfp, your's or a friend's!
1. BASIC AVATAR
{{Avatar|username|15px}}
<div style="border: -px solid value; width: 100px; height: 100px; overflow: hidden;">{{Avatar|username|15px}}</div>
<div style="border: -px solid value; width: 110px; height: 110px; overflow: hidden; border-radius: 140px;">{{Avatar|username|110}}</div>
{{Avatar|username|30}}
- Hint: hover over my pfp...
<div class="masthead-avatar">{{Avatar|username|15px}}</div>
Template Markers[]
Adding markers to pages help the community! Implementing a critique marker on your page will let other users know if they can give constructive criticism, and adding deletion markers help admins find unused pages faster.
1. CONSTRUCTIVE CRITICISM
{{Critique}}
{{Delete}}
{{Stub}}
Credits[]
- Banner: ZandraArt
- Coding: Daffødils