Template:CarniTemplate: Difference between revisions

From The CarniVault
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
     <th>Genus</th>
     <h1 style="color:blue;"
    <td>{{{param1}}}</td>
        <th>Genus</th>
        <td>{{{param1}}}</td>
    </h1>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{param2|}}}|<tr>
     <th>Species</th>
     <th>Species</th>
Line 18: Line 20:
     <td>{{{param5}}}</td>
     <td>{{{param5}}}</td>
</tr>}}</table>
</tr>}}</table>
<style>
<h1 style="color:blue;">A Blue Heading</h1>
body {background-color: powderblue;}
 
h1  {color: blue;}
<p style="color:red;">A red paragraph.</p>
p   {color: red;}
</style>

Latest revision as of 04:40, 25 February 2025

CarniTemplate

A Blue Heading

A red paragraph.