Template

Difference between revisions of "SOB State Ratings"

From Beachapedia

m (Protected "Template:SOB State Ratings": Limit SOTB template editing to sysops ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(Adding Coastal Development and Sea Level Rise Indicators)
Line 31: Line 31:
 
</tr>
 
</tr>
 
{{#ifeq: {{#titleparts: {{PAGENAME}}| |-1}} | Website | <tr style="background-color:#E7D9B4;"><td>Website</td>| <tr><td> [[{{#titleparts: {{PAGENAME}}|3}}/Website|Website]]</td>}}<td>{{{17}}}</td><td>{{{18}}}</td>
 
{{#ifeq: {{#titleparts: {{PAGENAME}}| |-1}} | Website | <tr style="background-color:#E7D9B4;"><td>Website</td>| <tr><td> [[{{#titleparts: {{PAGENAME}}|3}}/Website|Website]]</td>}}<td>{{{17}}}</td><td>{{{18}}}</td>
 +
</tr>
 +
{{#ifeq: {{#titleparts: {{PAGENAME}}| |-1}} | Coastal Development | <tr style="background-color:#E7D9B4;"><td>Coastal Development</td>| <tr><td> [[{{#titleparts: {{PAGENAME}}|3}}/Coastal Development|Coastal Development]]</td>}}<td>{{{19}}}</td><td>{{{20}}}</td>
 +
</tr>
 +
{{#ifeq: {{#titleparts: {{PAGENAME}}| |-1}} | Sea Level Rise | <tr style="background-color:#E7D9B4;"><td>Sea Level Rise</td>| <tr><td> [[{{#titleparts: {{PAGENAME}}|3}}/Sea Level Rise|Sea Level Rise]]</td>}}<td>{{{21}}}</td><td>{{{22}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
</includeonly>
 
</includeonly>

Revision as of 11:44, 28 November 2018

This is the "SOB_State_Ratings" template. It should be called in state ratings templates using the following format:

{{SOB_State_Ratings|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#}}

Where the #s are the ratings in order left to right and top to bottom.

Edit the page to see the template text.