Template:PartOfSeries: Difference between revisions
>TurkiyeOyuntv No edit summary |
No edit summary |
||
(33 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; text-align: center; background-color: # | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5; text-align:center; background-color: #FFFFFF;" | ||
|- | |- | ||
|style="margin: -0.2em 0 | |<div> | ||
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | |||
|style="margin: -0.2em 0; font-weight:normal; text-align: center; color:#FFFFFF; background:#212121;"|{{{PartOfASeries|}}} | |||
|- | |- | ||
|style="background: | |style="background:#212121; font-size: 200%;padding: 0.15em 0.1em;line-height: 1.2em; color:#FFFFFF; background:#212121;"|{{{MainTitle|}}} | ||
|- | |- | ||
|{{{Image|}}} | |style="background-color: #FFFFFF;"|{{{Image|}}} | ||
|- | |- | ||
|style="margin: -0.2em 0 | |style="margin: -0.2em 0; font-weight:normal; text-align: center; color:#FFFFFF; background:#212121; {{#if:{{{MiniText|}}}| |display: none;}}"|{{{MiniText|}}} | ||
|- | |- | ||
{{{Tabs|}}} | {{{Tabs|}}} | ||
|- | |- | ||
|}</div> | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude><div style="background:#ECFCF4";border: 1px solid #A2A9B1;> | ||
<div style="background:#ECFCF4";border: 1px solid #A2A9B1;> | |||
<p style="color:red; font-size: 150%">'''WARNING: DO NOT EDIT THIS PAGE!'''</p> | <p style="color:red; font-size: 150%">'''WARNING: DO NOT EDIT THIS PAGE!'''</p> | ||
<h1>Template:PartOfSeries Tutorial (cuz this is really hard)</h1> | <h1>Template:PartOfSeries Tutorial (cuz this is really hard)</h1> | ||
Line 20: | Line 22: | ||
{{PartOfSeries | {{PartOfSeries | ||
| PartOfASeries = Part of a series on the | | PartOfASeries = Part of a series on the | ||
| MainTitle = History of <br>[[Turkey | | MainTitle = History of <br />[[Nova:Turkey|<span style="margin:0;color:lightgrey;">Turkey</span>]] | ||
| MiniText = [[Timeline of Turkey|Timeline]] | | MiniText = [[Timeline of Turkey|<span style="margin:0;color:lightgrey;">Timeline</span>]] | ||
| Image = [[File:TurkeyFlag2.png|250px]] | | Image = [[File:TurkeyFlag2.png|250px]] | ||
| Tabs = {{TurkishHistoryTabs}} | | Tabs = {{TurkishHistoryTabs}} | ||
Line 27: | Line 29: | ||
<pre>{{PartOfSeries | <pre>{{PartOfSeries | ||
| PartOfASeries = Part of a series on the | | PartOfASeries = Part of a series on the | ||
| MainTitle = History of <br>[[Turkey | | MainTitle = History of <br />[[Nova:Turkey|<span style="margin:0;color:lightgrey;">Turkey</span>]] | ||
| MiniText = [[Timeline of Turkey|Timeline]] | | MiniText = [[Timeline of Turkey|<span style="margin:0;color:lightgrey;">Timeline</span>]] | ||
| Image = [[File:TurkeyFlag2.png|250px]] | | Image = [[File:TurkeyFlag2.png|250px]] | ||
| Tabs = {{TurkishHistoryTabs}} | | Tabs = {{TurkishHistoryTabs}} | ||
}}</pre> | }}</pre> | ||
<h2>Tab Templates</h2> | |||
Tab Templates are templates that put in "Tabs" parameter to add the tabs to a PartOfSeries template. | |||
<br>Example: [[Template:TurkishHistoryTabs|<nowiki>{{TurkishHistoryTabs}}</nowiki>]]</br> | |||
<h2>Frequently Asked Questions</h2> | <h2>Frequently Asked Questions</h2> | ||
Q: Whats the point of this template lol | Q: Whats the point of this template lol |
Latest revision as of 20:05, 5 October 2023
WARNING: DO NOT EDIT THIS PAGE!
Template:PartOfSeries Tutorial (cuz this is really hard)
Example Usage
|
{{PartOfSeries | PartOfASeries = Part of a series on the | MainTitle = History of <br />[[Nova:Turkey|<span style="margin:0;color:lightgrey;">Turkey</span>]] | MiniText = [[Timeline of Turkey|<span style="margin:0;color:lightgrey;">Timeline</span>]] | Image = [[File:TurkeyFlag2.png|250px]] | Tabs = {{TurkishHistoryTabs}} }}
Tab Templates
Tab Templates are templates that put in "Tabs" parameter to add the tabs to a PartOfSeries template.
Example: {{TurkishHistoryTabs}}
Frequently Asked Questions
Q: Whats the point of this template lol
A: To make design changes, fixes and that kind of stuff get applied to all PartOfSeries templates!
Q: Why you made this very hard
A: Cuz i couldnt find a way to make this easier
Template Data
<templatedata>
{
"description": "",
"params": {
"PartOfASeries": {
"label": "Part Of A Series Text",
"description": "Use this to set Part Of A Series Text",
"example": "Part of a series on the",
"type": "string",
"default": "Part of a series on",
"autovalue": "Part of a series on",
"required": true
},
"MainTitle": {
"label": "Main Title",
"description": "Main Title Text",
"example": "History of
Turkey
",
"type": "string",
"default": "History of
Turkey
",
"autovalue": "History of
Turkey
",
"required": true
},
"MiniText": {
"label": "Mini Text",
"description": "Mini Text (The small text below the image)",
"example": "Timeline",
"type": "string",
"default": "Timeline",
"autovalue": "Timeline",
"suggested": true
},
"Tabs": {
"label": "Tabs",
"description": "The Tabs. Good luck on using this :D btw you will put a template here"
},
"Image": {
"label": "Image",
"description": "The Image",
"autovalue": "",
"example": "",
"default": "",
"suggested": true
}
},
"sets": [],
"maps": {}
}
</templatedata>