వాడుకరి:Arjunaraoc/enwikisource-formatting-templates
Usage
[మార్చు]Use this template to insert a fixed width gap in inline text. The default is 2em.
For example,
Hello{{gap|3em}}world!
yields "Helloworld!"
If no argument is given, the default is 2em:
Hello{{gap}}world!
yields "Helloworld!"
For a real example of it in use, see Page:An introduction to physiological and systematical botany (1st edition).djvu/542.
Deprecated or incorrect usage
[మార్చు]Please note: This template is not intended to produce a formatting preference, such as indented paragraphs or double spacing after full stops (periods).
Indentation
[మార్చు]Indentation can be produced with a div style using a CSS command like "text-indent:2em". {{gap}} shouldn't be used to indent the first line of a paragraph
Offsetting right-aligned text
[మార్చు]Please do not use a construction like
{{right|This is incorrect{{gap}} }}
{{Right}} has a parameter "offset" for this:
{{right|This is correct|offset=2em}}
See also
[మార్చు]To insert a vertical gap (i.e. extra line spacing), simply add consecutive carriage returns. To force a gap in situations where the Mediawiki software consumes multiple carriage returns, such as at the end of a page, use {{nop}}.
Similar functionality is provided by {{em}}.
Usage
[మార్చు]Hanging indent template. The default inset is 2em when one parameter is used with single pipe | to separate the template name and the text. (The expression {{lorem ipsum}} is simply used below to generate some arbitrary text.)
- one parameter
-
- {{hanging indent|{{lorem ipsum}}}}
produces
- shorthand version
-
- {{hi|{{lorem ipsum}}}}
produces
- To specify the amount of indent, use the width first e.g. 1em
-
- {{hanging indent|1em|{{lorem ipsum}}}}
produces
Spanning multiple pages
[మార్చు]You can also use {{hanging indent/s}} to open and {{hanging indent/e}} and close the paragraph. But if you need to span the paragraph across pages, you should use the footer and header to create two separate paragraphs, each with hanging-indents, which will not be transcluded to the main namespace. /m can be used instead of /s for a paragraph with no hanging first line. Every page must have one of each, one at the start and one at the end. When the pages are all transcluded, you will end up with just one {{hanging indent/s}} and just one {{hanging indent/e}} at the start and end of the section, respectively. In this way an indented paragraph may span over two or more pages. In the schema below, omit the middle page if it only spans two pages.
First page
[మార్చు]- Body
- {{hanging indent/s}}
- Start of the hanging indent text.
- Footer
- {{hanging indent/e}}
Middle pages
[మార్చు]- Header
- {{hanging indent/m}}
- Body
- continuation of the paragraph goes here.
- Footer
- {{hanging indent/e}}
Last page
[మార్చు]- Header
- {{hanging indent/m}}
- Body
- The last part of the paragaph is here.
- {{hanging indent/e}}
See also
[మార్చు]
- మూస:Hanging indent inherit/doc
- మూస:Hanging indent inline/doc
- మూస:Hatnote/doc
- మూస:Hidden text/doc
- మూస:Illustrate/doc
- మూస:Index list/doc
- మూస:Information field/doc
- మూస:Initial/doc
- మూస:Inline-block/doc
- మూస:Inline-center/doc
- మూస:Ins/doc
- మూస:Inserted/doc
- మూస:Invisible page break/doc
This template uses a See H:DIVSPAN for details. |
Template to indicate that a span of text is italic.
Note that in MediaWiki text can be italicized by enclosing it in two straight apostrophes; ''this''
is displayed as this.
This template uses a styled span, in attempt to prevent misinterpretation of conventional MediaWiki notation for italics when working with certain templates and parameters that use specific formatting. This template should only be used when there are semantic reasons to separate text that is italicized for typographical conventions (titles of works, the names of ships, species taxa, foreign language terms, phrases that are whispered, etc.) versus text that is emphasized (warnings, text that is shouted, etc.) In the case of the latter, use {{em text}}, which will mark it as semantically different. This template only exists to distinguish between the two, which are often conflated but have different meanings.
Usage
[మార్చు]- {{italic|text}}
See also
[మార్చు]- {{normal}} remove italics in an otherwise italic span or block
- {{em text}}, for emphasized text, which is usually italicized in web browsers
Usage
[మార్చు]This template is for formatting a quotation that is indented on the left and the right margin, and italicized.
Example
[మార్చు]{{lorem ipsum}} {{itquote|{{lorem ipsum}}}} {{lorem ipsum}}
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
See also
[మార్చు]- Template:Quote
- Template:Quotation
- Template:Cquote
- {{qhtml}}, for semantically marked up quotations in running text
- మూస:Justify/doc
- మూస:Justify/s/doc
- మూస:Kbd/doc
- మూస:LR sidenote/doc
- మూస:Lacuna/doc
- మూస:Langlist/doc
- మూస:Lc/doc
- మూస:Letter-spacing-normal/doc
- మూస:Letter-spacing/doc
- మూస:Letter position/doc
- మూస:Lighter/doc
- మూస:Line-height/doc
- మూస:Line-height2/s/doc
This template uses a See H:DIVSPAN for details. |
Usage
[మార్చు]Line is used to add a line number to the right edge of a page after the line it's added to.
Add {{Line|Line number}} at the end of the line and change the italic text to the desired line number.
- మూస:LineGeneral/doc
- మూస:Line break/doc
- మూస:Line break 2/doc
- మూస:Loop/doc
- మూస:Lowercase/doc
- మూస:Lowered text/doc
- మూస:MarginNote/doc
- మూస:Medium/doc
- మూస:Mfrac/doc
- మూస:Mid-text note/doc
- మూస:Monospace/doc
- మూస:NW2/doc
- మూస:No hyphens/doc
- మూస:No indent/doc
- మూస:Nobold/doc
- మూస:Nodent/doc
- మూస:Nop/doc
- మూస:Normal/doc
- మూస:Normal small-caps/doc
- మూస:Notelist/doc
- మూస:Nowrap/doc
- మూస:Numbered list/doc
- మూస:Numbered para/doc
- మూస:Numbered para 2/doc
- మూస:Ol bracket/doc
- మూస:Old style/doc
- మూస:Ordered list/doc
- మూస:Other version/doc
Usage
[మార్చు]{{outdent | text | outdent in ems }} ie: {{outdent | {{lorem ipsum}} | 3 }}
See also
[మార్చు]- {{indent}}
- {{Outdent talk}}
Usage
[మార్చు]For use with works with sidenotes where the works are transcluded from the Page: namespace.
These templates display sidenotes to the left and right as displayed when in the Page namespace, though when the pages are transcluded to the main namespace, the sidenotes are 'all displayed on the left hand side of the page. Uses a <span> for formatting.
- Pages with original notes on left hand side use {{outside L}}
{{outside L|Special sidenote to display}}{{lorem ipsum}}
- Pages with original notes on right hand side use {{outside RL}}
{{outside RL|Special sidenote to display}}{{lorem ipsum}}
Note: Template:outside is not and should not be used directly, it is called as appropriate from within {{outside L}} and {{outside RL}}
Available parameters
[మార్చు]- depth: Depth of penetration into left margin, default 9em.
- padding: The space on the right of the text, default 1em.
- top: Vertical offset of text (margin-top) in pixel, default is 4px.
- align: Text alignment (text-align) within the span, default to "left".
- size: Size of font (font-size), default to "smaller", can be freely set.
- height: The height of each line, the vertical space between lines, default is 125% (enter as a number, do not include the percent sign).
- clearfix: Adds a "clear:" into the styling to force the sidenote to not overlap with an existing one.
Notes
[మార్చు]- Note - The use of this template has elements of complexity due to the requirement for the technical placement of text relative to other text
- PAGE: namespace
When set within the Page: namespace, the use of {{sidenotes begin}} and {{sidenotes end}} within the header and footer, respectively, is recommended for display purposes.
- MAIN namespace
When transcluding to main namespace, the following formatting is recommended
<div style="margin-left: XXem">
<pages your transclusion details as Wikisource:ProofreadPage />
</div>
where XXem = depth + padding; so 10em for default usage
example Copyright Act, 1956 (United Kingdom)/Part 1
See also
[మార్చు]- Template:Sidenotes begin and the set of templates used
- Template:Overfloat left
Usage
[మార్చు]This template floats a span past the left margin, so it appears further to the left.
Parameters
[మార్చు]- align: Text alignment within the span, default to "left". If set, the width is fixed, to allow alignment. Otherwise, width is unset, and extended as far to the right as needed.
- depth: Depth of penetration into left margin, default 3em.
- padding: The space on the right of the text, default 0.2em.
- width: width of left-aligned text block, add this parameter for a multi-line block.
Examples
[మార్చు]<div class="prose"> {{overfloat left|align=right|I.}} {{lorem ipsum}} {{overfloat right|45}} {{overfloat left|align=right|padding=1em|II.}} {{lorem ipsum}} {{overfloat left|depth=4em|2}} {{lorem ipsum}} </div>
I. 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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 45
II. 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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
2 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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
See also
[మార్చు]- {{fqm}} - simplified version for floating quotation marks
This template is for placing text above another text. It is based on Wikipedia template overset
{{os}} redirects here. Use this shorter form of the template if you prefer.
Syntax
[మార్చు]The syntax is:
{{overscript|base|over}}
Required parameters:
base (1)
: This is the base text.over (2)
: This is the overscript text above the base text.
Optional parameters:
os-offset
: Adjusts the line-height of the overscript and this changes vertical distance between the overscript and the base. Default is 0.8em.os-size
: Adjusts the font-size of the overscript. Default is 70%.os-padding
: Adjusts the left and the right padding of the overscripted text (to clearly separate it from other text). Default is 0.1em.
Examples
[మార్చు]{{overscript|base|overscript}}
=
{{overscript|base text|overscript}}
=
{{overscript|base|overscript|os-offset=0em}}
=
{{overscript|base|overscript|os-size=40%}}
=
ab{{overscript|c|1}}de
= ab de
ab{{overscript|c|1|os-padding=0.0em}}de
= ab de
This is a compact version of the Template:Overscript. It is intended only for lowercase base text which doesn't have the height of the uppercase letters, e.g. a, e, o.
{{osc}} redirects here. Use this shorter form of the template if you prefer.
Syntax
[మార్చు]The syntax is:
{{overscript compact|base|over}}
Required parameters:
base (1)
: This is the base text.over (2)
: This is the overscript text above the base text.
Example
[మార్చు]{{overscript compact|aeo|123}}
=
- మూస:PDF/doc
- మూస:PL-indent/doc
- మూస:Padded page break/doc
- మూస:PageLayout/doc
- మూస:Page break/doc
- మూస:Page styles/doc
- మూస:Pagebreak2/doc
- మూస:Pagenum/doc
DRAFT
Usage
[మార్చు]Works much like the premise in Template:Table style.
Use: {{P|1|2|3|up to 10 attributes and their values|10}}
More info pending.
Example
[మార్చు]{{P|lh12|fs92}}{{Lorem ipsum}}</p>
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
TemplateData
[మార్చు]TemplateData for Arjunaraoc
This template allows for a means to style the paragraph tag.
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
ar | ar
| text-align:right | స్ట్రింగు | ఐచ్చికం |
ac | ac
| text-align:center | స్ట్రింగు | ఐచ్చికం |
al | al
| text-align:left | స్ట్రింగు | ఐచ్చికం |
as | as
| text-align:start | స్ట్రింగు | ఐచ్చికం |
ae | ae
| text-align:end | స్ట్రింగు | ఐచ్చికం |
aj | aj
| text-align:justify | స్ట్రింగు | ఐచ్చికం |
ain | ain
| text-align:inherit | స్ట్రింగు | ఐచ్చికం |
amp | amp
| text-align:match-parent | స్ట్రింగు | ఐచ్చికం |
ase | ase
| text-align:start end | స్ట్రింగు | ఐచ్చికం |
ala | ala
| text-align-last:auto | స్ట్రింగు | ఐచ్చికం |
alr | alr
| text-align-last:right | స్ట్రింగు | ఐచ్చికం |
alc | alc
| text-align-last:center | స్ట్రింగు | ఐచ్చికం |
all | all
| text-align-last:left | స్ట్రింగు | ఐచ్చికం |
als | als
| text-align-last:start | స్ట్రింగు | ఐచ్చికం |
ale | ale
| text-align-last:end | స్ట్రింగు | ఐచ్చికం |
alj | alj
| text-align-last:justify | స్ట్రింగు | ఐచ్చికం |
bgt | bgt
| background-color:transparent | స్ట్రింగు | ఐచ్చికం |
bl | bl
| border-left:1px solid black | స్ట్రింగు | ఐచ్చికం |
br | br
| border-right:1px solid black | స్ట్రింగు | ఐచ్చికం |
bt | bt
| border-top:1px solid black | స్ట్రింగు | ఐచ్చికం |
bb | bb
| border-bottom:1px solid black | స్ట్రింగు | ఐచ్చికం |
ba | ba
| border:1px solid black | స్ట్రింగు | ఐచ్చికం |
bn | bn
| border:none | స్ట్రింగు | ఐచ్చికం |
btt | btt
| border-top:0px solid transparent | స్ట్రింగు | ఐచ్చికం |
bbt | bbt
| border-bottom:0px solid transparent | స్ట్రింగు | ఐచ్చికం |
blt | blt
| border-left:0px solid transparent | స్ట్రింగు | ఐచ్చికం |
brt | brt
| border-right:0px solid transparent | స్ట్రింగు | ఐచ్చికం |
ba3 | ba3
| border:3px solid black | స్ట్రింగు | ఐచ్చికం |
bl3 | bl3
| border-left:3px solid black | స్ట్రింగు | ఐచ్చికం |
br3 | br3
| border-right:3px solid black | స్ట్రింగు | ఐచ్చికం |
bt3 | bt3
| border-top:3px solid black | స్ట్రింగు | ఐచ్చికం |
bb3 | bb3
| border-bottom:3px solid black | స్ట్రింగు | ఐచ్చికం |
bld | bld
| border-left:4px double black | స్ట్రింగు | ఐచ్చికం |
brd | brd
| border-right:4px double black | స్ట్రింగు | ఐచ్చికం |
btd | btd
| border-top:4px double black | స్ట్రింగు | ఐచ్చికం |
bbd | bbd
| border-bottom:4px double black | స్ట్రింగు | ఐచ్చికం |
bsbb | bsbb
| box-sizing:border-box | స్ట్రింగు | ఐచ్చికం |
bscb | bscb
| box-sizing:content-box | స్ట్రింగు | ఐచ్చికం |
bspb | bspb
| box-sizing:padding-box | స్ట్రింగు | ఐచ్చికం |
clr | clr
| clear:right | స్ట్రింగు | ఐచ్చికం |
clb | clb
| clear:both | స్ట్రింగు | ఐచ్చికం |
cll | cll
| clear:left | స్ట్రింగు | ఐచ్చికం |
clin | clin
| clear:inherit | స్ట్రింగు | ఐచ్చికం |
clno | clno
| clear:none | స్ట్రింగు | ఐచ్చికం |
dpb | dpb
| display:block | స్ట్రింగు | ఐచ్చికం |
dpi | dpi
| display:inline | స్ట్రింగు | ఐచ్చికం |
dpib | dpib
| display:inline-block | స్ట్రింగు | ఐచ్చికం |
dpli | dpli
| display:list-item | స్ట్రింగు | ఐచ్చికం |
dpri | dpri
| display:run-in | స్ట్రింగు | ఐచ్చికం |
dpin | dpin
| display:inherit | స్ట్రింగు | ఐచ్చికం |
dpno | dpno
| display:none | స్ట్రింగు | ఐచ్చికం |
fll | fll
| float:left | స్ట్రింగు | ఐచ్చికం |
flr | flr
| float:right | స్ట్రింగు | ఐచ్చికం |
ffbl | ffbl
| font-family:UnifrakturMaguntia;font-size:113% | స్ట్రింగు | ఐచ్చికం |
fs08 | fs08
| font-size:0.80em | స్ట్రింగు | ఐచ్చికం |
fs09 | fs09
| font-size:0.90em | స్ట్రింగు | ఐచ్చికం |
fs10 | fs10
| font-size:1.00em | స్ట్రింగు | ఐచ్చికం |
fs70 | fs70
| font-size:70% | స్ట్రింగు | ఐచ్చికం |
fs75 | fs75
| font-size:75% | స్ట్రింగు | ఐచ్చికం |
fs80 | fs80
| font-size:80% | స్ట్రింగు | ఐచ్చికం |
fs85 | fs85
| font-size:85% | స్ట్రింగు | ఐచ్చికం |
fs90 | fs90
| font-size:90% | స్ట్రింగు | ఐచ్చికం |
fs92 | fs92
| font-size:92% | స్ట్రింగు | ఐచ్చికం |
fs95 | fs95
| font-size:95% | స్ట్రింగు | ఐచ్చికం |
fs100 | fs100
| font-size:100% | స్ట్రింగు | ఐచ్చికం |
fs110 | fs110
| font-size:110% | స్ట్రింగు | ఐచ్చికం |
fs115 | fs115
| font-size:115% | స్ట్రింగు | ఐచ్చికం |
lg | lg
| font-size:120% | స్ట్రింగు | ఐచ్చికం |
fs125 | fs125
| font-size:125% | స్ట్రింగు | ఐచ్చికం |
xl | xl
| font-size:144% | స్ట్రింగు | ఐచ్చికం |
fs150 | fs150
| font-size:150% | స్ట్రింగు | ఐచ్చికం |
xxl | xxl
| font-size:182% | స్ట్రింగు | ఐచ్చికం |
fs200 | fs200
| font-size:200% | స్ట్రింగు | ఐచ్చికం |
fsin | fsin
| font-size:inherit | స్ట్రింగు | ఐచ్చికం |
fyn | fyn
| font-style:normal | స్ట్రింగు | ఐచ్చికం |
fyi | fyi
| font-style:italic | స్ట్రింగు | ఐచ్చికం |
fyo | fyo
| font-style:oblique | స్ట్రింగు | ఐచ్చికం |
fyin | fyin
| font-style:inherit | స్ట్రింగు | ఐచ్చికం |
fwn | fwn
| font-weight:normal | స్ట్రింగు | ఐచ్చికం |
fwb | fwb
| font-weight:bold | స్ట్రింగు | ఐచ్చికం |
fwin | fwin
| font-weight:inherit | స్ట్రింగు | ఐచ్చికం |
lhno | lhno
| line-height:normal | స్ట్రింగు | ఐచ్చికం |
lh10 | lh10
| line-height:1.00em | స్ట్రింగు | ఐచ్చికం |
lh11 | lh11
| line-height:1.10em | స్ట్రింగు | ఐచ్చికం |
lh12 | lh12
| line-height:1.20em | స్ట్రింగు | ఐచ్చికం |
lh15 | lh15
| line-height:1.50em | స్ట్రింగు | ఐచ్చికం |
lh85 | lh85
| line-height:85% | స్ట్రింగు | ఐచ్చికం |
lh90 | lh90
| line-height:90% | స్ట్రింగు | ఐచ్చికం |
lh95 | lh95
| line-height:95% | స్ట్రింగు | ఐచ్చికం |
lh100 | lh100
| line-height:100% | స్ట్రింగు | ఐచ్చికం |
lh110 | lh110
| line-height:110% | స్ట్రింగు | ఐచ్చికం |
lh120 | lh120
| line-height:120% | స్ట్రింగు | ఐచ్చికం |
lh125 | lh125
| line-height:125% | స్ట్రింగు | ఐచ్చికం |
lh150 | lh150
| line-height:150% | స్ట్రింగు | ఐచ్చికం |
lh200 | lh200
| line-height:200% | స్ట్రింగు | ఐచ్చికం |
lhin | lhin
| line-height:inherit | స్ట్రింగు | ఐచ్చికం |
m0 | m0
| margin:0 0 0 0 | స్ట్రింగు | ఐచ్చికం |
mc | mc
| margin:0 auto 0 auto | స్ట్రింగు | ఐచ్చికం |
mt5 | mt5
| margin-top:5px | స్ట్రింగు | ఐచ్చికం |
mt2ex | mt2ex
| margin-top:2ex | స్ట్రింగు | ఐచ్చికం |
mr5 | mr5
| margin-right:5px | స్ట్రింగు | ఐచ్చికం |
mb5 | mb5
| margin-bottom:5px | స్ట్రింగు | ఐచ్చికం |
ml5 | ml5
| margin-left:5px | స్ట్రింగు | ఐచ్చికం |
sc | sc
| font-variant:small-caps | స్ట్రింగు | ఐచ్చికం |
sm | sm smaller | font-size:smaller | స్ట్రింగు | ఐచ్చికం |
sm80 | sm80
| font-size:80% | స్ట్రింగు | ఐచ్చికం |
sm85 | sm85
| font-size:85% | స్ట్రింగు | ఐచ్చికం |
sm90 | sm90
| font-size:92% | స్ట్రింగు | ఐచ్చికం |
sm95 | sm95
| font-size:95% | స్ట్రింగు | ఐచ్చికం |
xs | xs
| font-size:69% | స్ట్రింగు | ఐచ్చికం |
smin | smin
| font-size:inherit | స్ట్రింగు | ఐచ్చికం |
cap | cap
| text-transform:capitalize | స్ట్రింగు | ఐచ్చికం |
lc | lc
| text-transform:lowercase | స్ట్రింగు | ఐచ్చికం |
uc | uc
| text-transform:uppercase | స్ట్రింగు | ఐచ్చికం |
pl1 | pl1
| padding-left:1.0em | స్ట్రింగు | ఐచ్చికం |
pl15 | pl15
| padding-left:1.5em | స్ట్రింగు | ఐచ్చికం |
pl2 | pl2
| padding-left:2.0em | స్ట్రింగు | ఐచ్చికం |
pl5 | pl5
| padding-left:5.0em | స్ట్రింగు | ఐచ్చికం |
pr1 | pr1
| padding-right:1.0em | స్ట్రింగు | ఐచ్చికం |
pr15 | pr15
| padding-right:1.5em | స్ట్రింగు | ఐచ్చికం |
pr2 | pr2
| padding-right:2.0em | స్ట్రింగు | ఐచ్చికం |
pr5 | pr5
| padding-right:5.0em | స్ట్రింగు | ఐచ్చికం |
pt1 | pt1
| padding-top:1.0em | స్ట్రింగు | ఐచ్చికం |
pt15 | pt15
| padding-top:1.5em | స్ట్రింగు | ఐచ్చికం |
pt2 | pt2
| padding-top:2.0em | స్ట్రింగు | ఐచ్చికం |
pt5 | pt5
| padding-top:5.0em | స్ట్రింగు | ఐచ్చికం |
pb1 | pb1
| padding-bottom:1.0em | స్ట్రింగు | ఐచ్చికం |
pb15 | pb15
| padding-bottom:1.5em | స్ట్రింగు | ఐచ్చికం |
pb2 | pb2
| padding-bottom:2.0em | స్ట్రింగు | ఐచ్చికం |
pb5 | pb5
| padding-bottom:5.0em | స్ట్రింగు | ఐచ్చికం |
ti0 | ti0
| text-indent:0.00em | స్ట్రింగు | ఐచ్చికం |
ti7 | ti7
| text-indent:0.75em | స్ట్రింగు | ఐచ్చికం |
ti10 | ti10
| text-indent:1.00em | స్ట్రింగు | ఐచ్చికం |
ti12 | ti12
| text-indent:1.25em | స్ట్రింగు | ఐచ్చికం |
ti15 | ti15
| text-indent:1.50em | స్ట్రింగు | ఐచ్చికం |
ti17 | ti17
| text-indent:1.75em | స్ట్రింగు | ఐచ్చికం |
ti20 | ti20
| text-indent:2.00em | స్ట్రింగు | ఐచ్చికం |
ti22 | ti22
| text-indent:2.25em | స్ట్రింగు | ఐచ్చికం |
tii | tii
| text-indent:inherit | స్ట్రింగు | ఐచ్చికం |
un | un
| text-decoration:underline | స్ట్రింగు | ఐచ్చికం |
ov | ov
| text-decoration:overline | స్ట్రింగు | ఐచ్చికం |
st | st
| text-decoration:line-through | స్ట్రింగు | ఐచ్చికం |
bk | bk
| text-decoration:blink | స్ట్రింగు | ఐచ్చికం |
ofa | ofa
| overflow:auto | స్ట్రింగు | ఐచ్చికం |
ofh | ofh
| overflow:hidden | స్ట్రింగు | ఐచ్చికం |
ofs | ofs
| overflow:scroll | స్ట్రింగు | ఐచ్చికం |
ofv | ofv
| overflow:visible | స్ట్రింగు | ఐచ్చికం |
vtt | vtt
| vertical-align:text-top | స్ట్రింగు | ఐచ్చికం |
vtb | vtb
| vertical-align:text-bottom | స్ట్రింగు | ఐచ్చికం |
vtp | vtp
| vertical-align:top | స్ట్రింగు | ఐచ్చికం |
vbs | vbs
| vertical-align:baseline | స్ట్రింగు | ఐచ్చికం |
vbm | vbm
| vertical-align:bottom | స్ట్రింగు | ఐచ్చికం |
vmi | vmi
| vertical-align:middle | స్ట్రింగు | ఐచ్చికం |
viv | viv
| visibility:visible | స్ట్రింగు | ఐచ్చికం |
vih | vih
| visibility:hidden | స్ట్రింగు | ఐచ్చికం |
viin | viin
| visibility:inherit | స్ట్రింగు | ఐచ్చికం |
wa | wa
| width:100% | స్ట్రింగు | ఐచ్చికం |
w25 | w25
| width:25em | స్ట్రింగు | ఐచ్చికం |
w50 | w50
| width:50em | స్ట్రింగు | ఐచ్చికం |
w75 | w75
| width:75em | స్ట్రింగు | ఐచ్చికం |
w100 | w100
| width:100em | స్ట్రింగు | ఐచ్చికం |
wbn | wbn
| word-break:normal | స్ట్రింగు | ఐచ్చికం |
wba | wba
| word-break:break-all | స్ట్రింగు | ఐచ్చికం |
wbk | wbk
| word-break:keep-all | స్ట్రింగు | ఐచ్చికం |
wbint | wbint
| word-break:initial | స్ట్రింగు | ఐచ్చికం |
wbin | wbin
| word-break:inherit | స్ట్రింగు | ఐచ్చికం |
wsn | wsn
| word-spacing:normal | స్ట్రింగు | ఐచ్చికం |
ws10 | ws10
| word-spacing:1.00em | స్ట్రింగు | ఐచ్చికం |
ws20 | ws20
| word-spacing:2.00em | స్ట్రింగు | ఐచ్చికం |
ws-1 | ws-1
| word-spacing:-1px | స్ట్రింగు | ఐచ్చికం |
ws-2 | ws-2
| word-spacing:-2px | స్ట్రింగు | ఐచ్చికం |
wsint | wsint
| word-spacing:initial | స్ట్రింగు | ఐచ్చికం |
wsin | wsin
| word-spacing:inherit | స్ట్రింగు | ఐచ్చికం |
wwn | wwn
| word-wrap:normal | స్ట్రింగు | ఐచ్చికం |
wwb | wwb
| word-wrap:break-word | స్ట్రింగు | ఐచ్చికం |
wwint | wwint
| word-wrap:initial | స్ట్రింగు | ఐచ్చికం |
wwin | wwin
| word-wrap:inherit | స్ట్రింగు | ఐచ్చికం |
- మూస:Parameter/doc
- మూస:Pgraph/doc
- మూస:Phantom/doc
- మూస:Plainlist/doc
- మూస:Playscript/doc
- మూస:Playscript2/doc
This template expands to a bit of whitespace and a line number, which is formatted in small coloured text in order not to distract from the actual text of the poem or play. The line number also includes an id
attribute, which can be used as a label to hyperlink directly to a particular line: [[Hellas#line300]]
- {{pline|number}} gives: number
- Note: the contents doesn't have to be numerical.
Alignment
[మార్చు]If a second parameter is given as "l", the line number will float left, past the left margin of the text. The text will be right-aligned.
If a second parameter is given as "r", the line number will float right. This is only generally useful when the poem is enclosed in a limited-width environment, particularly {{block center}}, which "contracts" to the minimum width required by the contents.
If a second parameter is given as "or", the line number will overfloat right, past the right margin of the text.
ID tags
[మార్చు]If no id parameter is given, the "id" of the span will be "lineXXX", where XXX is the given line number. If id is given, the "id" will be that instead.
Example
[మార్చు]<poem> Hence! home, you idle creatures, get you home{{pline|1}} Is this a holiday? what! know you not,{{pline|2}} Being mechanical, you ought not walk Upon a labouring day without the sign{{pline|4}} </poem>
Hence! home, you idle creatures, get you home1
Is this a holiday? what! know you not,2
Being mechanical, you ought not walk
Upon a labouring day without the sign4
Example of right alignment
[మార్చు]{{block center| <poem> Hence! home, you idle creatures, get you home{{pline|1|r}} Is this a holiday? what! know you not,{{pline|2|r}} Being mechanical, you ought not walk Upon a labouring day without the sign{{pline|4|r}} </poem> }}
Hence! home, you idle creatures, get you home1
Is this a holiday? what! know you not,2
Being mechanical, you ought not walk
Upon a labouring day without the sign4
Example of left alignment
[మార్చు]{{block center| <poem> {{pline|1|l}}Hence! home, you idle creatures, get you home {{pline|2|l}}Is this a holiday? what! know you not, Being mechanical, you ought not walk {{pline|4|l}}Upon a labouring day without the sign </poem> }}
1Hence! home, you idle creatures, get you home
2Is this a holiday? what! know you not,
Being mechanical, you ought not walk
4Upon a labouring day without the sign
See also
[మార్చు]
- మూస:Poem-off/doc
- మూస:Poem-on/doc
- మూస:Poem begin/doc
- మూస:Pre/doc
- మూస:Prose/doc
- మూస:Pseudo-footnote/doc
Usage
[మార్చు]This template is for semantically marking up text as a quotation within running text.
Example
[మార్చు]The following:
- He told me, {{qhtml|Wikisource is the best!}}
will render as:
- He told me,
Wikisource is the best!
See also
[మార్చు]This template uses TemplateStyles: |
This template uses block elements, e.g. This template applies the class(es) See H:DIVSPAN for details. |
Usage
[మార్చు]This template is for formatting a quotation. The second and third parameters are used for the cited author and work. They should not be used if the quotation has different formatting to the one provided.
The default style is an extra margin on the left and right sides, but this can be set on a per-work basis with Index CSS.
The split templates {{quote/s}} and {{quote/e}} are available for spanning page breaks. The citation parameters are not available in this case.
Parameters
[మార్చు]- 1: the quoted text
- 2: a citation author, which comes after the quote (not available for the /s, /e split version)
- 3: a citation work, which comes after the author (not available for the /s, /e split version)
- class: extra CSS classes (
wst-quote
is always applied in addition). You can target these classes with Index CSS. - align: text alignment of the content (e.g.
center
). - style: extra CSS style to apply to the quoted text. Do not use quotes, the template supplies them.
Example
[మార్చు]{{lorem ipsum}} {{quote|'''With citation''': {{lorem ipsum}}|Albert Einstein|Life and Works}} {{lorem ipsum}} {{quote|style=color:blue;|'''With CSS''': {{lorem ipsum}}}} {{lorem ipsum}}
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
With citation: 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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
—Albert Einstein, Life and Works
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
With CSS: 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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
CSS
[మార్చు]Target the wst-quote
class with CSS to apply styles to this template. You can also specify your own class name with the class parameter (e.g. if the work has multiple quote styles).
A common use case is to remove the default right margin inset:
.wst-quote {
margin-right: 0;
}
See also
[మార్చు]- Template:Itquote
- Template:Cquote
- Template:Quotation
- {{qhtml}}, for semantically marked up quotations in running text
Insert a block of quoted text
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
1 | 1 | The quoted content | కంటెంటు | తప్పనిసరి |
class | class | Additional classes for targeting CSS
| లైను | ఐచ్చికం |
align | align | Text alignment
| స్ట్రింగు | ఐచ్చికం |
style | style | Additional CSS styling | లైను | ఐచ్చికం |
2 | 2 | Citation author (rarely used in actual works) | తెలియనిది | ఐచ్చికం |
3 | 3 | The cited work (rarely used in actual works) | తెలియనిది | ఐచ్చికం |
- మూస:QuoteHUP/s/doc
- మూస:RL sidenote/doc
- మూస:Raised text/doc
- మూస:Rbstagedir/doc
- మూస:Redact/doc
- మూస:Reflist/doc
- మూస:Roman-to-arabic/doc
- మూస:Roman/doc
- మూస:RomeoJulietComedy character/doc
- మూస:Rotate/doc
Usage
[మార్చు]This template inserts a black horizontal rule. It should be used in transcriptions in preference to wiki syntax "----", which inserts a rule but in a lighter colour. Furthermore there can be no certainty that the rendering of "----" will not change in the future. Please check for any [X]HTML 5 issues as well.
For example
{{rule}}
produces
The common case of a double-rule can be achieved by
{{rule}}{{rule}}
which produces
Width
[మార్చు]A width may optionally be provided, in em or by % in which case a black horizontal rule of that width is centered on the line.
For example
{{rule|width=12em}}
and
{{rule|12em}}
both produce
Height
[మార్చు]Height is provided by the named height parameter:
{{rule|height=3px}}
Alignment
[మార్చు]In rare cases where the left or right alignment is required, the align parameter may be used.
For example
{{rule|6em|align=left}}
produces
Style
[మార్చు]Finally, any desired special HTML styling may be applied through the style parameter.
For example
{{rule|width=12em|height=1em|style=background-color:orange;border:1px solid black}}
produces
Redirects
[మార్చు]- {{Hline}}
See also
[మార్చు]- {{separator}} for a row of dots
- {{Custom rule}} for a customized decorative rule
- {{Longdash}} for an inline long dash
- {{Bar}} for an inline, user specified length of the dash
-->
- మూస:STCKai/doc
- మూస:STC triplet/doc
- మూస:Sans-serif/doc
- మూస:Scrollpane/doc
- మూస:Section end rule/doc
- మూస:Serif/doc
- మూస:Serif block/doc
- మూస:Sfrac/doc
- మూస:Sfrac nobar/doc
- మూస:Shift left/doc
- మూస:Side by side/doc
- మూస:Side by side pages/doc
About
[మార్చు]Templates {{Right sidenote}}, and {{Left sidenote}} are used to create a text in which notes appear to the side of the text, rather than as footnotes at the end.
These templates are compatible with dynamic layouts. Thus, the way notes are rendered depends on the layout. CSS properties are defined in self.ws_layouts.
Usage
[మార్చు]Usage is as follows:
- In the Page Namespace, {{Sidenotes begin}} should be placed in the header of the page, and {{Sidenotes end}} in the footer, in order to create margins. (Note: these templates will be deprecated in the future, as css style properties will be imported from the index page)
- In the main namespace, these templates are no longer necessary.
Parameter | Mandatory | Definition | Default |
---|---|---|---|
1 | No | Unused, temporarily retained for access to 2 | — |
2 | No | Width of left and right margin to apply(measured in em values) | 11 |
side | No | Side of page to place a sidenotes column (options: left , right , both ) |
both
|
{{Right sidenote}} is used to create a sidenote appearing to the right of the text.
This template uses TemplateStyles: |
Parameter | Mandatory | Definition | Default |
---|---|---|---|
1 | Yes | The text to appear at the right, possibly including wiki markup. | |
2 | No | The css style of the note |
{{Left sidenote}} is used to create a sidenote appearing to the left of the text.
This template uses TemplateStyles: |
Parameter | Mandatory | Definition | Default |
---|---|---|---|
1 | Yes | The text to appear at the left, possibly including wiki markup. | |
2 | No | The css style of the note |
Example:
- The Solar System/Chapter 1 (try the different layouts to check how notes are rendered in each of them)
- మూస:Sidenotes flush/doc
- మూస:Signed/doc
- మూస:Size/doc
- మూస:Small-caps/doc
- మూస:Small-caps block/doc
- మూస:Smaller block/doc
Usage
[మార్చు]{{smallrefs}} {{smallrefs|10pt}} {{smallrefs|columns=2}}
Use in place of <references/>
when a smaller type size is desired, with optional control over the specific type size and the number of columns rendered (in browsers that implement CSS columns).
Parameters
[మార్చు]All parameters are optional.
- first parameter (unnamed)
- Font size; this sets the CSS
font-size
attribute ("12px", "10pt", "0.8em", etc.; default is "83%") columns
(or second parameter)- number of columns for references; this sets the CSS
column-count
and-moz-column-count
attributes group
(needs to be called by name)- for named groups as per reference group
refx
(needs to be called by name)- for including texts within <references /> where named reference only appears specifically in the body text itself. See Cite.
- మూస:Source-notes/doc
- మూస:Sp/doc
- మూస:Span tag/doc
- మూస:Span title/doc
- మూస:Spoken/doc
- మూస:Strikethrough/doc
- మూస:StripWhitespace/doc
- మూస:Style/doc
- మూస:Sup/doc
Yields a larger superscript than {{sup}}.
Compare
- The end.100
- The end.100
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
1 | 1 | Text
| స్ట్రింగు | తప్పనిసరి |
Redirects
[మార్చు]- {{sups}}
See also
[మార్చు]- {{sup}} — single raised line of text with smaller font-size (for example this)
- {{^}} — decreases font-size and raises text, but not above the text (for example this)
- {{raised text}} — single raised line of text with regular font-size (for example this)
- {{lowered text}}
- {{dual line}}
TOCIndex usage
[మార్చు]This template generates a wiki-readable Table of Contents for a work. It is used in conjunction with {{pg}} to create page links within a work. It takes the following syntax:
{{subst:TOCIndex |Title of Work |1|Introduction |12|First Chapter |56|Second Chapter }}
and so forth.
Pg usage
[మార్చు]This template is used in conjunction with {{TOCIndex}} to generate page links within a book. First a TOC index page must be generated with {{TOCIndex}}, e.g. at Name of Book/TOCIndex. Then, this template can be used with the following syntax:
{{subst:pg|location=Name of Book/TOCIndex|page=2}}
or, more simply:
{{subst:pg|Name of Book/TOCIndex|2}}
- మూస:Text-indent/doc
- మూస:Text-transform none/doc
- మూస:Textalign/doc
- మూస:Textgather/doc
- మూస:Transcript/doc
- మూస:Transl/doc
- మూస:Translation table/4/doc
- మూస:Translation table/doc
- మూస:Translation table/thlaw/doc
Usage
[మార్చు]Almost identical to {{white}}; intended to be immune to modified background coloured pages. The purpose of this template is to encapsulate "invisible" text whose presence has no effect other than alignment side-effects.
Usage:
- I want the following two sentences to align:
- John Brown's car had a puncture in it's tyre.
- John Brown's car had a puncture in it's tyre.
This template trims whitespace from a string. The string should be passed as the first unnamed parameter. You may substitute this template - that is, if used as {{subst:trim}}, the resulting wikicode is "clean".
Usage
[మార్చు]{{trim|text}} = text with any leading or trailing whitespace removed.
Example
[మార్చు]- "{{trim| abc}}" produces "abc"
Template data
[మార్చు]TemplateData for Arjunaraoc
The template trims whitespace from a string.
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
String | 1 | The string to be trimmed of whitespace | స్ట్రింగు | తప్పనిసరి |
See also
[మార్చు]- {{crop}}
- మూస:Typewriter underline/doc
- మూస:USStatSidenote/doc
- మూస:Uncial/doc
- మూస:Underline/doc
- మూస:Unicode/doc
- మూస:Uppercase/doc
- మూస:User annotation/doc
- మూస:Var/doc
- మూస:Verse/doc
- మూస:Verseline/doc
- మూస:Vertical line/doc
- మూస:Vertical text/doc
- మూస:Vrl/doc
- మూస:Wavy underline/doc
- మూస:Wide space/doc
- మూస:WiktGray/doc
- మూస:Word-spacing-normal/doc
- మూస:Word-spacing/doc
Usage
[మార్చు]This template simplifies formatting text that is మూస:Arjunaraoc.
Example
[మార్చు]{{Arjunaraoc|Arjunaraoc}}
See also
[మార్చు]
All Wikisource size templates are relative to the default size. There are two kinds of sizing template: inline and block templates. Inline templates are suitable for use within a paragraph, but can't handle paragraph breaks, and do not adjust line spacing. Block templates can handle paragraph breaks, and adjust line spacing, but are not suitable for use within a paragraph, as they will cause a paragraph break. See H:DIVSPAN for more details.
Font size definition by relative differences using words
[మార్చు].
Inline template | Block template | Size | Sample |
{{xx-smaller}} | {{xx-smaller block}} | 58% | Lorem ipsum dolor sit amet, |
{{x-smaller}} | {{x-smaller block}} | 69% | Lorem ipsum dolor sit amet, |
{{smaller}} | {{smaller block}} | 83% | Lorem ipsum dolor sit amet, |
{{fine}} | {{fine block}} | 92% | Lorem ipsum dolor sit amet, |
— | — | 100% | Lorem ipsum dolor sit amet, |
{{larger}} | {{larger block}} | 120% | Lorem ipsum dolor sit amet, |
{{x-larger}} | {{x-larger block}} | 144% | Lorem ipsum dolor sit amet, |
{{xx-larger}} | {{xx-larger block}} | 182% | Lorem ipsum dolor sit |
{{xxx-larger}} | {{xxx-larger block}} | 207% | Lorem ipsum dolor |
{{xxxx-larger}} | {{xxxx-larger block}} | 249% | Lorem ipsum |