Jump to content

User:Arcorann

From Wikisource
Revision as of 12:33, 27 November 2023 by Arcorann (talk | contribs) (Cheat sheet)

Subpages

Texts

Roughly ascending order of difficulty.

Cheat sheet

To add things that are easy to forget

Pseudoheader
{{ph|class=chapter|PREFACE}}
{{ph|class=chapter num|Chapter IX}}
{{ph|class=chapter title|Guild Socialism|level=2}}
Formatting pseudoheaders
Drop initial
{{di|x}}
x
Uppercase
{{uc|Abc}}
Abc
Small caps
{{sc|Abc}}
Abc
End page hyphen
{{peh}}
Running header
{{rh|l|text|r}}
Brace2
{{brace2|}}
{{brace2|2}}
{{brace2|4|r}}
{{brace2|1|l}}
{{brace2|1|u}}
{{brace2|1|d}}
sic
{{SIC|wrd|word}}
ditto marks
January 12<br />{{ditto|January}} 19<br />{{ditto bar|January}} 26
January 12
January 19
January— — — 26
Single quote
{{`}}
Poems
{{ppoem|...}}
{{block center|{{ppoem|...}}}}
Quote blocks (CSS style using .wst-quote)
{{quote|text}}
Pages
<pages index="The problem of China - Russell 1922.pdf" from="88" to="98" />
<pages index="A short history of astronomy(1898).djvu" include="19-22,24"/>

Sample styles.css

From Index:The Case for Capitalism (1920).djvu/styles.css

.chapter {
	text-align: center;
	text-transform: uppercase;
	font-size: 120%;
	margin-bottom: 1.5em;
}

.chapter.num {
	text-transform: uppercase;
	font-size: 120%;
	margin-bottom: 1.5em;
}

.chapter.title {
	font-variant: all-small-caps;
}

.toc-block {
	max-width: 25em;
    margin-left: auto;
    margin-right: auto;
    
}

.wst-block-center {
	max-width: 25em;
}

.wst-fine-block {
	margin-bottom: 2em;
	margin-top: 2em;
}