21:
155:
The style must apply only to the associated template's output. It may also apply to highly-relevant nearby wikitext where the template is used. (For example, there are many table templates which should have
TemplateStyles which are provided entirely in templates, or which may provide a legend to a
130:
Styles included by a template can currently affect content on the page outside of the content generated by that template, but this ability may be removed in the future and should not be relied upon. (See discussion from
156:
wikitext table.) It would otherwise be confusing if adding a template to one part of a page were to completely or partially change the display or styling of an unrelated part of the page.
126:
where the primary desire is to style an element lying outside the template of interest. This is a characteristic worth tracking because of statements like:
174:
187:
199:
281:
105:<noinclude>[[Category:Templates using TemplateStyles to style external elements]]</noinclude>
47:
144:
67:
148:
228:
63:
245:
216:
109:
to the end of the template code, making sure it starts on the same line as the code's last character.
262:
123:
30:
250:
132:
8:
240:
71:
94:[[Category:Templates using TemplateStyles to style external elements]]
204:
136:
275:
170:
Pages in category "Templates using
TemplateStyles to style external elements"
98:
to the <includeonly> section at the bottom of that page. Otherwise, add
59:
40:
83:
If the template has a separate documentation page (usually called "Template:
164:
tables, but has also been used for tables of contents (in most skins).
173:
The following 9 pages are in this category, out of 9 total.
122:
This category provides a list of templates that are using
188:Template:American Open Wheel driver results legend
273:
160:This use most often arises in the context of
200:Template:Nearest neighbour for whole page
175:This list may not reflect recent changes
20:
274:
66:. It should not be used to categorize
39:The pages listed in this category are
78:To add a template to this category:
15:
149:Knowledge:TemplateStyles#Guidelines
145:mw:Extension:TemplateStyles#Caveats
13:
179:
167:
50:and not part of the encyclopedia.
14:
293:
147:, which is reflected locally in
54:Further template category notes
19:
282:Templates using TemplateStyles
1:
229:Template:Row hover highlight
168:
7:
246:Template:Static row numbers
10:
298:
217:Template:Plain row headers
48:Knowledge's administration
263:Template:Table alignment
251:Template:Sticky header
158:
141:
62:contains pages in the
29:Templates relating to
153:
128:
46:This page is part of
133:phab:T155813#2996589
241:Template:Sort under
70:or pages in other
64:template namespace
205:Template:Nonumtoc
120:
119:
289:
103:
92:
23:
22:
16:
297:
296:
292:
291:
290:
288:
287:
286:
272:
271:
270:
269:
268:
267:
255:
233:
221:
209:
192:
166:
116:
115:
114:
113:
112:
106:
101:
95:
90:
79:
76:
75:
55:
51:
44:
36:
12:
11:
5:
295:
285:
284:
266:
265:
259:
256:
254:
253:
248:
243:
237:
234:
232:
231:
225:
222:
220:
219:
213:
210:
208:
207:
202:
196:
193:
191:
190:
184:
181:
180:
171:
124:TemplateStyles
118:
117:
111:
110:
107:
104:
99:
96:
93:
88:
80:
77:
57:
56:
53:
52:
45:
38:
37:
31:TemplateStyles
27:
26:
24:
9:
6:
4:
3:
2:
294:
283:
280:
279:
277:
264:
261:
260:
257:
252:
249:
247:
244:
242:
239:
238:
235:
230:
227:
226:
223:
218:
215:
214:
211:
206:
203:
201:
198:
197:
194:
189:
186:
185:
182:
178:
176:
169:
165:
163:
157:
152:
150:
146:
140:
138:
134:
127:
125:
108:
100:
97:
89:
86:
85:template name
82:
81:
73:
69:
65:
61:
49:
42:
34:
32:
25:
18:
17:
172:
161:
159:
154:
142:
137:phab:T176272
129:
121:
84:
28:
87:/doc"), add
72:namespaces
41:templates
276:Category
68:articles
60:category
135:and in
35:
162:ad hoc
102:
91:
58:This
143:in
278::
177:.
151::
139:.)
74:.
43:.
258:T
236:S
224:R
212:P
195:N
183:A
33:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.