Jump to content

Template:Book: Difference between revisions

From WYOS Wiki
Created page with "<includeonly> {| class="wikitable" style="float:right; margin-left:1em; width:300px;" | colspan="2" style="text-align:center;" | [[File:{{{Image|}}}|290px]] |- ! Author | [[Has author::{{{Author|}}}]] |- ! Tags | {{{Topic Tags|}}} |- ! URL | [[Has url::{{{URL|}}}]] |- ! Featured? | [[Is featured::{{{Is Featured|}}}]] |} <!-- Invisible Data Section --> Has resource type::Book [[Has image::{{{Image|}}}]] [[Has description::{{{Description|}}}]] {{#arraymap:{{{Topic Tags..."
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<onlyinclude>
{| class="wikitable" style="float:right; margin-left:1em; width:300px;"
{{Resource
| colspan="2" style="text-align:center;" | [[File:{{{Image|}}}|290px]]
|Resource Type=Book
|-
|Status={{{Status|}}}
! Author
|Display Title={{{Display Title|}}}
| [[Has author::{{{Author|}}}]]
|Subtitle={{{Subtitle|}}}
|-
|Author={{{Author|}}}
! Tags
|Image={{{Image|}}}
| {{{Topic Tags|}}}
|Topic Tags={{{Topic Tags|}}}
|-
|Main Categories={{{Main Categories|}}}
! URL
|URL={{{URL|}}}
| [[Has url::{{{URL|}}}]]
|Description={{{Description|}}}
|-
|Is Featured={{{Is Featured|}}}
! Featured?
}}
| [[Is featured::{{{Is Featured|}}}]]
|}
<!-- Invisible Data Section -->
[[Has resource type::Book]]
[[Has image::{{{Image|}}}]]
[[Has description::{{{Description|}}}]]
{{#arraymap:{{{Topic Tags|}}}|,|x|[[Has topic tag::x]]}}


</includeonly><noinclude>
<!-- Structured Content Sections for Next.js -->
<div id="section-overview">{{{Overview|}}}</div>
<div id="section-why-we-recommend-it">{{{Why We Recommend It|}}}</div>
<div id="section-who-its-for">{{{Who It's For|}}}</div>
<div id="section-pro-tip">{{{Pro Tip|}}}</div>
<div id="section-good-to-know">{{{Good to Know|}}}</div>
</onlyinclude><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 ===
<pre>
<pre>
{{Book
{{Book
|Status=
|Display Title=
|Subtitle=
|Author=
|Image=
|Image=
|Author=
|Topic Tags=
|Topic Tags=
|Main Categories=
|URL=
|URL=
|Description=
|Description=
|Is Featured= <!-- "Yes" or "No" -->
|Is Featured=
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 21:28, 30 July 2025


No image
Type Book


Topics
Categories
URL
Status
Featured?


How to use this Template[edit source]

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

Syntax[edit source]

{{Book
|Status=
|Display Title=
|Subtitle=
|Author=
|Image=
|Topic Tags=
|Main Categories=
|URL=
|Description=
|Is Featured=
}}