Template:Omnipedia Entry/doc: Difference between revisions
Created page with "{{Documentation/Header}} Template for Omnipedia entries. Takes: <pre> {{Omnipedia Entry |location = where in the omni-gallery (coolwater zone, etc) |sname = scientific name |text = the main text }} </pre> {{Omnipedia Entry |location = where in the omni-gallery (coolwater zone, etc) |sname = scientific name |text = the main text }}" |
Updated |
||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | {{Documentation/Header}} | ||
Template that formats [[Omnipedia]] entries. | |||
==Syntax== | |||
<syntaxhighlight lang="wikitext" copy> | |||
{{Omnipedia Entry | |||
|location = | |||
|sname = | |||
|text = | |||
}} | |||
</syntaxhighlight> | |||
* {{F|location}} – Omni-Gallery location. | |||
* {{F|sname}} – Scientific name. | |||
* {{F|text}} – Omnipedia entry text. | |||
** {{Color|Old|Note}}: All newlines are preserved. Adding {{F|<nowiki><br></nowiki>}}, {{F|<nowiki><br/></nowiki>}}, or {{F|<nowiki><br /></nowiki>}} is not necessary. | |||
==Examples== | |||
< | ===All Parameters=== | ||
{{Example|<nowiki> | |||
{{Omnipedia Entry | {{Omnipedia Entry | ||
|location = | |location = Coolwater Zone | ||
|sname = | |sname = Ctenopharyngodon idella | ||
|text = the | |text = Grass carp are named for their herbivorous habits, but this diet isn't persistent throughout its life cycle. | ||
During their juvenile stage, grass carp primarily feed on invertebrates. | |||
It's only when they grow to about the size of a bottle cap that they fully transition to a plant-based diet. | |||
So, don't be surprised if you see a grass carp eating meat — It might just be reminiscing about its babyhood. | |||
}} | }} | ||
</ | </nowiki>}} | ||
===Only Text=== | |||
{{Example|<nowiki> | |||
{{Omnipedia Entry | {{Omnipedia Entry | ||
| | |text = Grass carp are named for their herbivorous habits, but this diet isn't persistent throughout its life cycle. | ||
During their juvenile stage, grass carp primarily feed on invertebrates. | |||
It's only when they grow to about the size of a bottle cap that they fully transition to a plant-based diet. | |||
So, don't be surprised if you see a grass carp eating meat — It might just be reminiscing about its babyhood. | |||
}} | }} | ||
</nowiki>}} | |||
==Template Data== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"location": { | |||
"label": "Location", | |||
"description": "Omni-Gallery location.", | |||
"example": "Coolwater Zone", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"sname": { | |||
"label": "Scientific Name", | |||
"description": "Scientific name.", | |||
"example": "Ctenopharyngodon idella", | |||
"type": "string" | |||
}, | |||
"text": { | |||
"label": "Text", | |||
"description": "Omnipedia entry text. All newlines are preserved.", | |||
"type": "unbalanced-wikitext", | |||
"required": true | |||
} | |||
}, | |||
"description": "Template that formats Omnipedia entries.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
Revision as of 13:05, 3 May 2026
This is the documentation page for Omnipedia Entry. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
Template that formats Omnipedia entries.
Syntax
{{Omnipedia Entry
|location =
|sname =
|text =
}}
- location – Omni-Gallery location.
- sname – Scientific name.
- text – Omnipedia entry text.
- Note: All newlines are preserved. Adding <br>, <br/>, or <br /> is not necessary.
Examples
All Parameters
{{Omnipedia Entry
|location = Coolwater Zone
|sname = Ctenopharyngodon idella
|text = Grass carp are named for their herbivorous habits, but this diet isn't persistent throughout its life cycle.
During their juvenile stage, grass carp primarily feed on invertebrates.
It's only when they grow to about the size of a bottle cap that they fully transition to a plant-based diet.
So, don't be surprised if you see a grass carp eating meat — It might just be reminiscing about its babyhood.
}}
Grass carp are named for their herbivorous habits, but this diet isn't persistent throughout its life cycle.
During their juvenile stage, grass carp primarily feed on invertebrates.
It's only when they grow to about the size of a bottle cap that they fully transition to a plant-based diet.
So, don't be surprised if you see a grass carp eating meat — It might just be reminiscing about its babyhood.
Only Text
{{Omnipedia Entry
|text = Grass carp are named for their herbivorous habits, but this diet isn't persistent throughout its life cycle.
During their juvenile stage, grass carp primarily feed on invertebrates.
It's only when they grow to about the size of a bottle cap that they fully transition to a plant-based diet.
So, don't be surprised if you see a grass carp eating meat — It might just be reminiscing about its babyhood.
}}
Grass carp are named for their herbivorous habits, but this diet isn't persistent throughout its life cycle.
During their juvenile stage, grass carp primarily feed on invertebrates.
It's only when they grow to about the size of a bottle cap that they fully transition to a plant-based diet.
So, don't be surprised if you see a grass carp eating meat — It might just be reminiscing about its babyhood.
Template Data
Template that formats Omnipedia entries.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Location | location | Omni-Gallery location.
| String | suggested |
| Scientific Name | sname | Scientific name.
| String | optional |
| Text | text | Omnipedia entry text. All newlines are preserved. | Unbalanced wikitext | required |