Templates

From List Wiki, organize pieces together
Jump to: navigation, search

The list of templates used on List.Wiki.

Icon links template for external links[edit]

List of All Icon Links Template

Sample Code Usage:[edit]

Image Link Preview Sample Code
List Wiki: http://list.wiki/ {{listwiki|1=http://list.wiki/}}
Official site (website): http://google.com/ {{home|1=http://google.com/}}
Official Twitter account: http://twitter.com/ {{twitter|1=http://twitter.com/}}

Font size[edit]

Code Result Details
{{small | Text content here.}} Text content here. Font size: 85%. Smallest font size.
{{smaller | Text content here.}} Text content here. Font size: 90%.
{{resize | Text content here.}} Text content here. Font size: 90%.
{{midsize | Text content here.}} Text content here. Font size: 92%.
Text content here. Text content here. Font size: 100%. No template here, just showing the comparison for various font sizes.
{{larger | Text content here.}} Text content here. Font size: 110%.
{{big | Text content here.}} Text content here. Font size: 120%.
{{large | Text content here.}} Text content here. Font size: large.
{{huge | Text content here.}} Text content here. Font size: 180%.
{{resize | x% | Text content here.}} Font size: custom. For more info: https://en.wikipedia.org/wiki/Template:Resize
{{font | size=x% | Text content here.}} Font size: custom. For more info: https://en.wikipedia.org/wiki/Template:Font

Warning sign[edit]

Code Render Information
{{warning}} Text msg here Warning Warning: Text msg here Use this for a shorter warning message.
{{warning | Text msg here}}
Warning Warning: Text msg here
Use this for a longer warning message.

Table: yes and no comparison[edit]

These codes and icons are to be used in a table. The icons are auto centered.

Code Render Information
{{yes}} Icon-a-yes.png You can use this code into the list when editing the comparison table.
{{no}} Icon-no.png You can use this code into the list when editing the comparison table.
{{notsure}} Icon-notsure.png You can use this code in the comparison table when you are not sure about the info.
{{note}} Note-20.png You can use this code in the comparison table for important note to get extra attention.

Table: transcript or cc for youtube videos[edit]

Code Result Details
{| class="videoTime"
|-
| 00:00 || First row caption
|-
| 00:05 || Second row caption
|}
00:00 First row caption
00:05 Second row caption
  • Table row for CC transcript, refer to i.e. Binance for reference
  • Without the time, simply just use asterisk (*) for each row of caption

(Deprecated)

Code Result Details
{{cctd|00:00|Here is the 1st row transcript.}}
{{cctd|00:03|Here is the 2nd row transcript.}}
00:00 Here is the 1st row transcript.
00:03 Here is the 2nd row transcript.
Table row for CC or transcript on YouTube to be embeded into List.Wiki. You still to write the extra code for opening and closing the table which is {| and |}. Each table row does not needed to be seperated by pipe, |. This is a nested table, you still need to open close the table within the table you are inserting this. Each row needs to be separated by a line break and starts on a new line.

Templates to create a new page[edit]

Code Result Details
{{subst:list}} See the result in the original template here: Template:list The default template to start a new List of All page. Click save changes for the template to go in and click edit again to insert information into that page.
{{subst:page}} See the result in the original template here: Template:page The default template to start a new Detail page. Click save changes for the template to go in and click edit again to insert information into that page.
{{subst:videos}} See the result in the original template here: Template:videos The default template to start a new List of All (Videos) page. Click save changes for the template to go in and click edit again to insert information into that page. For this videos template, please use Videos:AAAA in the title when creating the page, where AAAA is where you insert or type in your title.
{{subst:page/exchange}} See the result in the original template here: Template:page/exchange The default template to start a new Detail page for exchange. Click save changes for the template to go in and click edit again to insert information into that page.
{{subst:page/person}} See the result in the original template here: Template:page/person The default template to start a new Detail page for a person. Click save changes for the template to go in and click edit again to insert information into that page.

Templates:subst/AAAA for smaller replacements[edit]

Code Result Details
{{subst:subst/ccrow}} See the result in the template here: Template:Subst/ccrow Adding new row to the table in Videos:AAAA page.

MediaWiki pre-existing templates[edit]

Code Result Details
{{CURRENTMONTHABBREV}} {{CURRENTDAY}}, {{CURRENTYEAR}} Oct 16, 2019 Echo today's date. https://www.mediawiki.org/wiki/Help:Magic_words#Date_and_time
{{subst:today}} Oct 16, 2019 Echo today's date (written and fixed, doesn't change from time to time). https://www.mediawiki.org/wiki/Help:Magic_words#Date_and_time
{{subst:subst}}today}} {{subst:today}} To be used in template {{subst:subst}}today}} will become {{subst:today}} after finished editing and saved. https://www.mediawiki.org/wiki/Help:Magic_words#Date_and_time
{{PAGENAME}} Templates Echo current page title. https://www.mediawiki.org/wiki/Help:Magic_words#Page_names
{{subst:PAGENAME}} Templates Echo current page title (written and fixed, doesn't change from time to time). https://www.mediawiki.org/wiki/Help:Magic_words#Page_names
{{subst:subst}}PAGENAME}} {{subst:PAGENAME}} To be used in template {{subst:subst}}PAGENAME}} will become {{subst:PAGENAME}} after finished editing and saved. https://www.mediawiki.org/wiki/Help:Magic_words#Page_names