Jump to content

Template:Omnipedia Entry: Difference between revisions

From The Petit Planet Wiki
Created page with "<includeonly><!-- --><div class="description standard-border" style="overflow: auto; border-radius: 5px; background: #4e57741a; margin: 5px 0" id="{{#replace:{{{location|}}}|"|"}}"><!-- -->{{#if:{{{location|}}}|<!-- --><div style="font-size: 15px; text-align: left; overflow: auto; max-height: 300px; padding: 5px 12px;" id="trust-event-loc-{{Replace|{{{location|}}}|s1="|r1="|s2={space}|r2=-}}"><!-- -->'''Omni-Gallery — [[{{{location}}}]]'''<!-- -->{{#if:{{..."
 
Wrapped div around scientific name
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><templatestyles src="Template:Omnipedia Entry/styles.css" /><!--
--><div class="description standard-border" style="overflow: auto; border-radius: 5px; background: #4e57741a; margin: 5px 0" id="{{#replace:{{{location|}}}|"|&quot;}}"><!--
--><div class="omnipedia-wrapper" id="{{Replace|{{lc:{{{location|}}}}}|s1="|r1=&quot;|s2={space}|r2=-}}"><!--
-->{{#if:{{{location|}}}|<!--
  -->{{#if:{{{location|}}}|<!--
--><div style="font-size: 15px; text-align: left; overflow: auto; max-height: 300px; padding: 5px 12px;" id="trust-event-loc-{{Replace|{{{location|}}}|s1="|r1=&quot;|s2={space}|r2=-}}"><!--
    --><div class="omnipedia-location" id="loc-{{Replace|{{lc:{{{location|}}}}}|s1="|r1=&quot;|s2={space}|r2=-}}"><!--
-->'''Omni-Gallery &mdash; [[{{{location}}}]]'''<!--
      -->'''Omni-Gallery &mdash; [[{{{location}}}]]'''<!--
-->{{#if:{{{sname|}}}|<br/>'''Scientific Name''': {{{sname}}}}}<!--
    --></div><!--
  -->}}<!--
  --><div class="omnipedia-text"><!--
    -->{{#if:{{{sname|}}}|<div class="omnipedia-sname">'''Scientific Name''': ''{{{sname}}}''</div>}}<!--
    -->{{#if:{{{text|}}}|{{#tag:poem|{{{text}}}}}}}<!--
  --></div><!--
--></div><!--
--></div><!--
--><hr style="width: 97.5%; margin: auto" /><!--
 
-->}}<!--
-->{{#if:{{{text|}}}|<!--
--><hr style="width: 97.5%; margin: auto" /><!--
--><div style="font-size: 15px; text-align: left; overflow: auto; padding: 5px 12px;"><!--
-->{{{text}}}<!--
--></div><!--
-->}}<!--
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
-->{{#if:{{{location|}}}|[[Category:{{{location|}}} Creatures]]}}<!--
-->}}<!--
-->}}<!--
--></div><!--
--></includeonly><!--
--></includeonly><!--
--><noinclude>{{Documentation|type=Data}}</noinclude>
--><noinclude>{{Documentation|type=Data}}</noinclude>

Latest revision as of 13:16, 3 May 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

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.
}}
Omni-Gallery — Coolwater Zone
Scientific Name: Ctenopharyngodon idella

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.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
Locationlocation

Omni-Gallery location.

Example
Coolwater Zone
Stringsuggested
Scientific namesname

Scientific name.

Example
Ctenopharyngodon idella
Stringoptional
Texttext

Omnipedia entry text. All newlines are preserved.

Contentrequired