User:Mkoyle/How do I...?

From Wikisource
Jump to: navigation, search

Brief wikisource tag helps[edit]

Right justify text?

  • <div style="text-align:right"> </div>


Justify text?

  • <div style="text-align:justify"> </div>


Center text?

  • <center> </center>


Increase text size or change text size?

  • <font size="5"> </font>
Note: change the 5 to any number to increase or decrease the size.


Force the use of a serif font?

  • <div style="font-family: serif;"> </div>


Add additional spaces or force a new line?

  • <br/>


Add additional space between paragraphs or lines?

  • <br/><br/><br/>
Note: use the marker as few or as many times as needed to produce the needed space.


Add spaces [whitespace] between words?

  • &nbsp;
Note: the space is quite narrow, repeat as many times as necessary.


Make superscripts?

  • <sup> </sup>


Make subscripts?

  • <sub> </sub>


Link to a particular verse in the Bible or in other scripture?

  • [[Bible (King James)/Matthew#3:16|Matthew 3:16]]


Make an em-dash look correct in the Page namespace and in transclusion?

  • If the words were "position—the"
    • First page: {{#ifeq:{{NAMESPACE}}|Page|position—|}}
    • Second page: {{#ifeq:{{NAMESPACE}}|Page|the|position—the}}


Use inline CSS styles to make a single paragraph that is tagged <div class="lefttext"> or <div class="prose"> not indent (or appear flush left)?

  • Put the text in a paragraph tag with inline style like the following:
<p style="text-align:left;text-indent:0">   </p>


Use inline CSS styles to make a single paragraph indented all along the left side:

  • * Put the text in a paragraph tag with inline style like the following, changing 3in (for three inches) to any appropriate size or to #px for a certain number of pixels:
<p style="padding-left:3in">   </p>