Help:Editing basics: Difference between revisions
From Inkipedia, the Splatoon wiki
SuperHamster (talk | contribs) (Padding tables so they don't touch the border) |
No edit summary |
||
Line 71: | Line 71: | ||
|} | |} | ||
==Images== | |||
{| class="unsortable" width=100% align="center" cellpadding="3px" style="background:#FFFFFF; text-align:left; border: 3px solid #a9de00; padding: 5px; {{roundy}}" | |||
!class="unsortable" width=20% | | |||
! Input | |||
! Output | |||
|- | |||
! Image | |||
|<nowiki>[[File:MarieArt.png]]</nowiki> | |||
|[[File:MarieArt.png]] | |||
|- | |||
! Image thumbnail | |||
|<nowiki>[[File:MarieArt.png|thumb]]</nowiki> | |||
|[[File:MarieArt.png|thumb]] | |||
|- | |||
! Image thumbnail with caption | |||
|<nowiki>[[File:MarieArt.png|thumb|A caption!]]</nowiki> | |||
|[[File:MarieArt.png|thumb|A caption!]] | |||
|- | |||
! Image with a maximum width | |||
|<nowiki>[[File:MarieArt.png|100px]]</nowiki> | |||
|[[File:MarieArt.png|100px]] | |||
|- | |||
! Image with a maximum height | |||
|<nowiki>[[File:MarieArt.png|x100px]]</nowiki> | |||
|[[File:MarieArt.png|x100px]] | |||
|- | |||
! Image with a maximum width and height | |||
|<nowiki>[[File:MarieArt.png|100x100px]]</nowiki> | |||
|[[File:MarieArt.png|100px]] | |||
|- | |||
| colspan=3 style="padding-left:15px"| *<small>Note that if an image is given a maximum width and height that do not match its {{wp|aspect ratio}}, it will conform to whichever value makes it smaller. For example, the above image becomes 100px wide by 80px tall; if it was 100px tall then it would be 125px wide, which exceeds the given maximum width.</small> | |||
|- | |||
! Image that {{wp|Cascading Style Sheets#Positioning|floats}} to the right | |||
|<nowiki>[[File:MarieArt.png|float|right]]</nowiki> | |||
| [[File:MarieArt.png|float|right]] | |||
|- | |||
| colspan=3 style="padding-left:15px"| *<small>An image with the ''thumb'' attribute also floats to the right, but this does so without the frame | |||
|} | |||
{{Todo|Add | {{Todo|Add Tables section.}} |
Revision as of 03:47, 14 December 2018
- ← Return to Help:Contents
- Suggest an editing topic to be added here!
Welcome to Inkipedia! If you're on this page, you're probably new to Wikicode or just need a little clarification to build that awesome template you've been dreaming of. Look no further, because we've got you covered.
The Basics
Input | Output | |
---|---|---|
Text | Hello world! | Hello world! |
Italics | ''Hello world!'' | Hello world! |
Bold | '''Hello world!''' | Hello world! |
Bold Italics | '''''Hello world!''''' | Hello world! |
Links
Input | Output | |
---|---|---|
Link | [[Inkling]] | Inkling |
[[Inkling]]s | Inklings | |
Redlink | [[Red link example]] | Red link example |
Pipe | [[Inkling|Squid]] | Squid |
Templates
Input | Output | |
---|---|---|
Button | {{button|X}} | |
Stick | {{button|RS}} | |
Gamepad | {{gamepad}} | Template:Gamepad |
Images
Input | Output | |
---|---|---|
Image | [[File:MarieArt.png]] | |
Image thumbnail | [[File:MarieArt.png|thumb]] | |
Image thumbnail with caption | [[File:MarieArt.png|thumb|A caption!]] | |
Image with a maximum width | [[File:MarieArt.png|100px]] | |
Image with a maximum height | [[File:MarieArt.png|x100px]] | |
Image with a maximum width and height | [[File:MarieArt.png|100x100px]] | |
*Note that if an image is given a maximum width and height that do not match its Template:Wp, it will conform to whichever value makes it smaller. For example, the above image becomes 100px wide by 80px tall; if it was 100px tall then it would be 125px wide, which exceeds the given maximum width. | ||
Image that Template:Wp to the right | [[File:MarieArt.png|float|right]] | |
*An image with the thumb attribute also floats to the right, but this does so without the frame |