Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Templates: Difference between revisions

From EVE University Wiki
m Update link, pointed to a redirect page
m Using templates: Update {{Cleanup}} example
Line 62: Line 62:


== Using templates ==
== Using templates ==
You can insert by encasing its name in curly brackets. For instance, if you would like to mark a page as "needing cleanup", add the code <code><nowiki>{{Cleanup}}</nowiki></code> to the page, which produces the following:
You can insert by encasing its name in curly brackets. For instance, if you would like to mark a page as "needing cleanup", add the code {{T|Cleanup}} to the page, which produces the following:
{{Color box|color=#2B547E|border=#2B3856|'''This article should be cleaned up or improved.''' The reason is: ''unspecified''. }}
{{Banner|color= #153E7E|border= #153E7E|'''This article should be cleaned up or improved.''' The reason is: ''unspecified''. }}


Some templates can be used with parameters to customise how they look. For instance, you can use the template <code>{{t|Example}}</code> to mark an example on a page. You pass parameters to templates by using the pipe character | . <code><nowiki>{{Example|This is an example of how a template can look (how very meta!)}}</nowiki></code> produces the following:  
Some templates can be used with parameters to customise how they look. For instance, you can use the template <code>{{t|Example}}</code> to mark an example on a page. You pass parameters to templates by using the pipe character | . <code><nowiki>{{Example|This is an example of how a template can look (how very meta!)}}</nowiki></code> produces the following: