Skip to content

Commit 3901218

Browse files
committed
Documentation fix up.
1 parent 9ef5ef9 commit 3901218

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

README.wiki

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ The '''SpriteSheet''' extension allows uploaded images to be divided into sprite
2929

3030
==Installation==
3131

32-
{{ {{TNTN|ExtensionInstall}} |download-link=[https://github.com/CurseStaff/SpriteSheet/archive/v1.1.0.zip Download]}}
32+
{{ {{TNTN|ExtensionInstall}} |download-link=[https://github.com/CurseStaff/SpriteSheet/archive/v1.1.1.zip Download]}}
3333

3434
==Configuration==
3535
There are two available rights that may be assigned to groups, 'edit_sprites' and 'spritesheet_rollback'. The 'edit_sprites' permission gives the ability to edit sprite sheets, sprites, slices, assign names, and delete. The 'spritesheet_rollback' allows the ability to rollback changes from the change log.
3636

3737
Default permissions:
3838

39-
<code><nowiki>$wgGroupPermissions['autoconfirmed']['edit_sprites'] = true;
40-
$wgGroupPermissions['sysop']['spritesheet_rollback'] = true;</nowiki></code>
39+
<pre><nowiki>$wgGroupPermissions['autoconfirmed']['edit_sprites'] = true;
40+
$wgGroupPermissions['sysop']['spritesheet_rollback'] = true;</nowiki></pre>
4141

4242
==Usage==
4343

@@ -50,25 +50,25 @@ The #sprite tag format accepts X and Y coordinate positions to select a section
5050

5151
Basic Syntax:
5252

53-
<code><nowiki>{{#sprite:file=Example.png|column=0|row=0}}</nowiki></code>
53+
<pre><nowiki>{{#sprite:file=Example.png|column=0|row=0}}</nowiki></pre>
5454

5555
It can also be spaced across lines for readability:
5656

57-
<code><nowiki>{{#sprite:
58-
file=Example.png
59-
|column=0
60-
|row=0
61-
}}</nowiki></code>
57+
<pre><nowiki>{{#sprite:
58+
file=Example.png
59+
|column=0
60+
|row=0
61+
}}</nowiki></pre>
6262

6363
With optional resize and link:
6464

65-
<code><nowiki>{{#sprite:
66-
file=Example.png
67-
|column=0
68-
|row=0
69-
|resize=300
70-
|link=ExampleArticle
71-
}}</nowiki></code>
65+
<pre><nowiki>{{#sprite:
66+
file=Example.png
67+
|column=0
68+
|row=0
69+
|resize=300
70+
|link=ExampleArticle
71+
}}</nowiki></pre>
7272

7373
===== Parameters for #sprite Tag =====
7474

@@ -115,11 +115,11 @@ The #ifsprite tag is used to display a named sprite if it exists. If the named
115115

116116
Basic Syntax:
117117

118-
<code><nowiki>{{#ifsprite:
119-
file=File:Example.png
120-
|name=TestSprite
121-
|wikitext={{SpriteNotFound}}
122-
}}</nowiki></code>
118+
<pre><nowiki>{{#ifsprite:
119+
file=File:Example.png
120+
|name=TestSprite
121+
|wikitext={{SpriteNotFound}}
122+
}}</nowiki></pre>
123123

124124
===== Parameters for #ifsprite Tag =====
125125

@@ -158,29 +158,29 @@ The #slice tag takes X and Y positioning along with width and height sizing to s
158158

159159
Basic Syntax:
160160

161-
<code><nowiki>{{#slice:file=File:Example.png|x=0|y=0|width=10|height=10}}</nowiki></code>
161+
<pre><nowiki>{{#slice:file=File:Example.png|x=0|y=0|width=10|height=10}}</nowiki></pre>
162162

163163
It can also be spaced across lines for readability:
164164

165-
<code><nowiki>{{#slice:
166-
file=File:Example.png
167-
|x=0
168-
|y=0
169-
|width=10
170-
|height=10
171-
}}</nowiki></code>
165+
<pre><nowiki>{{#slice:
166+
file=File:Example.png
167+
|x=0
168+
|y=0
169+
|width=10
170+
|height=10
171+
}}</nowiki></pre>
172172

173173
With optional resize and link:
174174

175-
<code><nowiki>{{#slice:
176-
file=Example.png
177-
|x=0
178-
|y=0
179-
|width=10
180-
|height=10
181-
|resize=300
182-
|link=ExampleArticle
183-
}}</nowiki></code>
175+
<pre><nowiki>{{#slice:
176+
file=Example.png
177+
|x=0
178+
|y=0
179+
|width=10
180+
|height=10
181+
|resize=300
182+
|link=ExampleArticle
183+
}}</nowiki></pre>
184184

185185
===== Parameters for #slice Tag =====
186186

@@ -236,11 +236,11 @@ The #ifslice tag is used to display a named slice if it exists. If the named sl
236236

237237
Basic Syntax:
238238

239-
<code><nowiki>{{#ifslice:
240-
file=File:Image_Name.png
241-
|name=SliceTest
242-
|wikitext={{SpriteNotFound}}
243-
}}</nowiki></code>
239+
<pre><nowiki>{{#ifslice:
240+
file=File:Image_Name.png
241+
|name=SliceTest
242+
|wikitext={{SpriteNotFound}}
243+
}}</nowiki></pre>
244244

245245
===== Parameters for #ifslice Tag =====
246246

0 commit comments

Comments
 (0)