Template:Omnipedia Entry: Difference between revisions
Moved styles to Template:Omnipedia Entry/styles.css. Wrapped <poem> around text to remove the requirement of adding <br> after every line |
Wrapped div around scientific name |
||
| Line 7: | Line 7: | ||
-->}}<!-- | -->}}<!-- | ||
--><div class="omnipedia-text"><!-- | --><div class="omnipedia-text"><!-- | ||
-->{{#if:{{{sname|}}}|'''Scientific Name''': ''{{{sname}}}''}}<!-- | -->{{#if:{{{sname|}}}|<div class="omnipedia-sname">'''Scientific Name''': ''{{{sname}}}''</div>}}<!-- | ||
-->{{#if:{{{text|}}}|{{#tag:poem|{{{text}}}}}}}<!-- | -->{{#if:{{{text|}}}|{{#tag:poem|{{{text}}}}}}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Latest revision as of 13:16, 3 May 2026
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Template that formats Omnipedia entries.
Syntax
[edit source]{{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
[edit source]All Parameters
[edit source]
{{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
[edit source]
{{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
[edit source]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. | Content | required |