Difference between revisions of "Template:Portal card"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
Line 15: Line 15:
 
</div>
 
</div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 +
;Description
 +
Creates a responsive block. All parameters are optional, but at list one parameter is needed.
 +
 
;Usage
 
;Usage
 +
<pre>
 +
{{Portal card
 +
|header=
 +
|title=
 +
|tagline=
 +
|content=
 +
|image=
 +
|footer=
 +
}}
 +
</pre>
  
 
;Example
 
;Example
 
<pre>
 
<pre>
 
{{Portal card
 
{{Portal card
| header=Prince Dakkar
+
| header=Header
| title=Captain Nemo
+
| title=Title
| tagline=By Jules Vern
+
| tagline=Tagline
| content='''Captain Nemo''' (in Latin '''Nobody''') — also known as '''Prince Dakkar''' — is a
+
| content=Content content content
fictional character invented by the French science fiction author Jules Verne (1828–1905). Nemo
 
appears in two of Verne's novels, ''Twenty Thousand Leagues Under the Sea'' (1870) and ''The
 
Mysterious Island'' (1874), and makes a cameo appearance in Verne's play ''Journey Through the
 
Impossible'' (1882).
 
 
 
The son of an Indian Raja, he is a scientific genius who roams the depths of the sea in his
 
submarine, the ''Nautilus'', which was built on a deserted island. Nemo tries to project a stern,
 
controlled confidence, but he is driven by a thirst for vengeance and a hatred of imperialism
 
focused on the British Empire. He is also wracked by remorse over the deaths of his crew members
 
and even by the deaths of enemy sailors.
 
 
| image=File:20000_squid_Nautilus_viewbay.jpg
 
| image=File:20000_squid_Nautilus_viewbay.jpg
| footer=Nemo, one of the most famous antiheroes in fiction, is a mysterious figure.
+
| footer=Footer
 
}}
 
}}
 
</pre>
 
</pre>
Line 41: Line 44:
 
;Result
 
;Result
 
{{Portal card
 
{{Portal card
| header=Prince Dakkar
+
| header=Header
| title=Captain Nemo
+
| title=Title
| tagline=By Jules Vern
+
| tagline=Tagline
| content='''Captain Nemo''' (in Latin '''Nobody''') — also known as '''Prince Dakkar''' — is a
+
| content=Content content content
fictional character invented by the French science fiction author Jules Verne (1828–1905). Nemo
 
appears in two of Verne's novels, ''Twenty Thousand Leagues Under the Sea'' (1870) and ''The
 
Mysterious Island'' (1874), and makes a cameo appearance in Verne's play ''Journey Through the
 
Impossible'' (1882).
 
 
 
The son of an Indian Raja, he is a scientific genius who roams the depths of the sea in his
 
submarine, the ''Nautilus'', which was built on a deserted island. Nemo tries to project a stern,
 
controlled confidence, but he is driven by a thirst for vengeance and a hatred of imperialism
 
focused on the British Empire. He is also wracked by remorse over the deaths of his crew members
 
and even by the deaths of enemy sailors.
 
 
| image=File:20000_squid_Nautilus_viewbay.jpg
 
| image=File:20000_squid_Nautilus_viewbay.jpg
| footer=Nemo, one of the most famous antiheroes in fiction, is a mysterious figure.
+
| footer=Footer
 
}}
 
}}

Revision as of 19:39, 18 February 2022

Description

Creates a responsive block. All parameters are optional, but at list one parameter is needed.

Usage
{{Portal card
|header=
|title=
|tagline=
|content=
|image=
|footer=
}}
Example
{{Portal card
| header=Header
| title=Title
| tagline=Tagline
| content=Content content content
| image=File:20000_squid_Nautilus_viewbay.jpg
| footer=Footer
}}
Result
Header
20000 squid Nautilus viewbay.jpg
Tagline
Title

Content content content