Jump to content

Template:Reading List/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template creates a customizable reading list of articles with various styling options.

Parameters

[edit]
Parameter Description
title (Optional) Title of the reading list.
article1, article2, article3 The titles of the articles to be linked.
image1, image2, image3 Images to be displayed next to the article titles.
image1size, image2size, image3size (Optional) Custom sizes for each image.
description1, description2, description3 Brief descriptions of the articles.
edit_link A link to edit the reading list.
background Background color of the reading list box.
text_color Text color of the article titles.
font_size (Optional) Font size for the text.
font_family (Optional) Font family for the text.
text_align (Optional) Alignment of the text (left, right, center).

Examples

[edit]

Example 1: Basic Usage

[edit]
{{Reading List
|article1=Earth
|image1=Earth.jpg
|description1=Earth is the third planet from the Sun and the only astronomical object known to harbor life.
|article2=Mars
|image2=Mars.jpg
|description2=Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.
|article3=Jupiter
|image3=Jupiter.jpg
|description3=Jupiter is the largest planet in the Solar System.
|edit_link={{fullurl:{{FULLPAGENAME}}|action=edit&section=1}}
|background=#F5FAFF
|text_color=black
}}



Earth

Earth is the third planet from the Sun and the only astronomical object known to harbor life.

Mars

Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.

Jupiter

Jupiter is the largest planet in the Solar System.



Example 2: Customizing Title and Text Alignment

[edit]
{{Reading List
|title=Historical Landmarks
|text_align=center
|article1=Great Wall of China
|image1=20200108 Great Wall of China guard house-7.jpg
|description1=The Great Wall of China is a series of fortifications made of stone, brick, tamped earth, wood, and other materials.
|article2=Pyramids of Giza
|image2=Pyramids of Giza - DPLA - 61903fc22bfdbacaecf9ca8c464e1b5d.jpg
|description2=The Pyramids of Giza are the oldest of the Seven Wonders of the Ancient World.
|article3=Stonehenge
|image3=Stonehenge BW.jpg
|description3=Stonehenge is a prehistoric monument in Wiltshire, England.
|edit_link={{fullurl:{{FULLPAGENAME}}|action=edit&section=1}}
}}


Historical Landmarks

Great Wall of China

The Great Wall of China is a series of fortifications made of stone, brick, tamped earth, wood, and other materials.

Pyramids of Giza

The Pyramids of Giza are the oldest of the Seven Wonders of the Ancient World.

Stonehenge

Stonehenge is a prehistoric monument in Wiltshire, England.



Example 3: Advanced Styling with Custom Font and Image Size

[edit]
{{Reading List
|title=Advanced Reading List
|font_family=Georgia
|font_size=14px
|article1=Black Holes
|image1=BlackHole.jpg
|image1size=100px
|description1=A black hole is a region of spacetime where gravity is so strong that nothing—no particles or even electromagnetic radiation such as light—can escape from it.
|article2=Quantum Mechanics
|image2=Indeterminacy principle.gif
|image2size=80px
|description2=Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles.
|article3=Theory of Relativity
|image3=Relativity-formula.png
|image3size=60px
|description3=The theory of relativity usually encompasses two interrelated theories by Albert Einstein: special relativity and general relativity.
|article4=Physics
|image4=CMB Timeline300 no WMAP.jpg
|image4size=200px
|description4=Timeline of the universe. A representation of the evolution of the universe over 13.77 billion years. The far left depicts the earliest moment we can now probe, when a period of "inflation" produced a burst of exponential growth in the universe. (Size is depicted by the vertical extent of the grid in this graphic.) For the next several billion years, the expansion of the universe gradually slowed down as the matter in the universe pulled on itself via gravity. More recently, the expansion has begun to speed up again as the repulsive effects of dark energy have come to dominate the expansion of the universe. The afterglow light seen by WMAP was emitted about 375,000 years after inflation and has traversed the universe largely unimpeded since then. The conditions of earlier times are imprinted on this light; it also forms a backlight for later developments of the universe.
|edit_link={{fullurl:{{FULLPAGENAME}}|action=edit&section=1}}
|background=lightgrey
|text_color=darkblue
}}


Advanced Reading List

Black Holes

A black hole is a region of spacetime where gravity is so strong that nothing—no particles or even electromagnetic radiation such as light—can escape from it.

Quantum Mechanics

Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles.

Theory of Relativity

The theory of relativity usually encompasses two interrelated theories by Albert Einstein: special relativity and general relativity.

Physics

Timeline of the universe. A representation of the evolution of the universe over 13.77 billion years. The far left depicts the earliest moment we can now probe, when a period of "inflation" produced a burst of exponential growth in the universe. (Size is depicted by the vertical extent of the grid in this graphic.) For the next several billion years, the expansion of the universe gradually slowed down as the matter in the universe pulled on itself via gravity. More recently, the expansion has begun to speed up again as the repulsive effects of dark energy have come to dominate the expansion of the universe. The afterglow light seen by WMAP was emitted about 375,000 years after inflation and has traversed the universe largely unimpeded since then. The conditions of earlier times are imprinted on this light; it also forms a backlight for later developments of the universe.


Blank Code

[edit]

For creating a new section:

{{Reading List
|title=
|article1=
|image1=
|image1size=
|description1=
|article2=
|image2=
|image2size=
|description2=
|article3=
|image3=
|image3size=
|description3=
|edit_link={{fullurl:{{FULLPAGENAME}}|action=edit&section=1}}
|background=
|text_color=
|font_size=
|font_family=
|
text_align=
}}