Umamusume Wiki:Contributing/Help: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Templates == ''For how to use templates in general, see MediaWiki's guide.'' Each page that contains data of some sort (Characters, Songs, etc.) will have one main template in each page. Some pages (like Albums) will have additional templates to add supplementary data. These data templates '''have side effects''' and should only be used on the page in which they are describing. In general, you should be able to either copy the format of an exist...") |
No edit summary |
||
Line 27: | Line 27: | ||
| rowspan=2|[[Module:Utils]] || Not a template per se, but can be [[mw:Extension:Scribunto#.23invokeinvoked|invoked]] to provide helpful results. | | rowspan=2|[[Module:Utils]] || Not a template per se, but can be [[mw:Extension:Scribunto#.23invokeinvoked|invoked]] to provide helpful results. | ||
|- | |- | ||
| <code><nowiki>{{#invoke:Utils|splitLinks}}</nowiki></code> will split comma and space-separated page names into their respective links. Useful when using [[mw:Extension:Cargo|Cargo]] queries. | | <code><nowiki>{{#invoke:Utils|splitLinks|Page1, Page2}}</nowiki></code> will split comma and space-separated page names into their respective links. Useful when using [[mw:Extension:Cargo|Cargo]] queries. | ||
|} | |} |
Revision as of 04:02, 15 March 2024
Templates
For how to use templates in general, see MediaWiki's guide.
Each page that contains data of some sort (Characters, Songs, etc.) will have one main template in each page. Some pages (like Albums) will have additional templates to add supplementary data. These data templates have side effects and should only be used on the page in which they are describing. In general, you should be able to either copy the format of an existing page of this type, or use the provided boilerplates on the edit page. Each template page (and the template editor, if using the visual editor) should have a list of its parameters, so reference that if you are confused.
Page type | Main | Additional |
---|---|---|
Characters | Template:Character | Template:Character Profile |
Template:Character Gallery | ||
Albums | Template:Album | Template:Album Song |
Songs | Template:Song | Template:Song Albums |
Template | Usage |
---|---|
Template:Character Icon | Used on List of Characters, shows a clickable icon along with the character name and colors. |
Template:Tooltip | Used to provide extra text on-hover. |
Module:Utils | Not a template per se, but can be invoked to provide helpful results. |
{{#invoke:Utils|splitLinks|Page1, Page2}} will split comma and space-separated page names into their respective links. Useful when using Cargo queries.
|