Jump to content

Template:Book: Difference between revisions

From WYOS Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; margin-left:1em; width:300px;"
{{Resource
| colspan="2" style="text-align:center;" | [[File:{{{Image|}}}|290px]]
|Resource Type=Book
|-
|Image={{{Image|}}}
! Author
|Author={{{Author|}}}
| [[Has author::{{{Author|}}}]]
|Topic Tags={{{Topic Tags|}}}
|-
|URL={{{URL|}}}
! Tags
|Description={{{Description|}}}
| {{{Topic Tags|}}}
|Is Featured={{{Is Featured|}}}
|-
}}
! URL
| [[Has url::{{{URL|}}}]]
|-
! Featured?
| [[Is featured::{{{Is Featured|}}}]]
|}
<div style="display:none;">
<!-- Invisible Data Section -->
[[Has resource type::Book]]
[[Has image::{{{Image|}}}]]
[[Has description::{{{Description|}}}]]
{{#arraymap:{{{Topic Tags|}}}|,|x|[[Has topic tag::x]]}}
</div>
</includeonly><noinclude>
</includeonly><noinclude>
== How to use this Template ==
== How to use this Template ==
This template is for adding a new book to the WYOS database.  
This template is for adding a new book. It calls the master [[Template:Resource]].


=== Syntax ===
=== Syntax ===
Line 34: Line 21:
|URL=
|URL=
|Description=
|Description=
|Is Featured= <!-- "Yes" or "No" -->
|Is Featured=
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 01:34, 18 July 2025

How to use this Template

This template is for adding a new book. It calls the master Template:Resource.

Syntax

{{Book
|Image=
|Author=
|Topic Tags=
|URL=
|Description=
|Is Featured=
}}