See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Template:32color - Wikipedia, the free encyclopedia

Template:32color

From Wikipedia, the free encyclopedia

a0d0f0

This templates controls color selections for a TOC template of the 1632 series
[edit] Template documentation
Purpose
This is a subtemplate element of tables of contents for The Grantville Gazettes individual articles
and Ring of Fire anthologies book titles in the Ring of Fire series (aka "1632 series").
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
Usage
This template builds part of the table elements, and must be used with other wikitable elements to function properly.

template:32TOC-beg code:

<includeonly>
{|style="background:#f0f0f0; width:80%; float:center; text-align:left; "
{{#if:{{{1|}}}|
{{!-}} bgcolor="Gold"
!colspan=2 {{!}}<center>{{{1}}}</center>
{{!-}}
}}
</includeonly>

template:32st or (32stitle) code:

|-bgcolor="#{{32color|{{{2|2}}}}}"
!colspan=2|<table 
style="border:1px solid blue; padding: 0 2em 2ex 2em; <!--
-->width:100%; margin: 0 20% 0 20%; align:center; float:center; <!--
-->color:darkblue; background:#{{32color|{{{2|2}}}}}; "><!--

--><tr><td><big><center>{{#switch:{{uc:{{{1|}}}}}<!--
-->|1|ST|FIC|STORIES|FICTION=[[1632 series|1632-verse Fictional Stories]]<!--
-->|2|SERIAL|SERIALS|CONTINUING SERIALS|CONTINUING|SER=Continuing Serials<!--
-->|3|{{uc:Non-Fiction — Fact Essays}}|ESSAYS|NON-FICTION|FACT=Non-Fiction — Fact Essays<!--
-->|#default={{{1}}}}}</center></big></td></tr></table>


presentation for template:32st(itle) appears here
when { 32st/doc } is NOT viewed directly.

template:32s code:

{{!}}-
{{!}}{{#switch:{{{1|}}}|**=•  {{unicode| }}    <!-- is same as •{{S|5}}---><!--
     "-->|*=  {{unicode| }}•<!--
     "-->|#default={{{1|}}}<!--
  -->}} <!--
  -->{{#switch:{{uc:{{{2|}}}}}<!--
     "-->|EDITOR'S PREFACE=Editor's Preface|ASSISTANT EDITOR'S PREFACE=Assistant Editor's Preface<!--
     "-->|#default="{{{2}}}"}}{{!!}} by <!--
     "-->{{#if:{{{p|}}}|{{{p}}}|{{#if:{{{s|}}}<!--
     "-->|{{16writ|s={{{s}}}|}}<!--
     "-->|{{16writ|{{{3}}}|{{{4}}}|}}<!--
     "-->}}<!--
  -->}}
Care and feeding of Template:32s — 'mnemonically' 32 'story' or 'section'
Example {{32s}} basic output
(other formating added by normal header)
{{32s|**|Suite For Four Hands|David|Carrico}}
{{32s|*|Poor Little Rich Girls|p={{16writ|Paula|Goodlett}} and {{!-!}}colspan=2{{!}}{{16writ|Gorg|Huff}}

{{32s|*|What Replaces the SRG?|s=Grantville Firearms Roundtable}}

Example of 32s expansion in table after this cell, how-to shown above:
•     Suite For Four Hands by David Carrico

{{32s|*|Poor Little Rich Girls|p=Paula Goodlett and Gorg Huff

  What Replaces the SRG? by Grantville Firearms Roundtable


Examples
See Grantville Gazette V (first use and development) for example.
Sample look

The current article
Table of Contents

The effect of Template 32TOC-beg is the above, the background, limits and frame, etc.
Table title 1 author link for that here
Table title 2 author link for that here
Table title 3 author link for that here
The effect of template (32st) follows:
 
Argument-1 {{{1}}}
Table section 2 title 1 author link for that here
Table section 2 title 2... author link for that here
Related
(This is common usage of all)
1632 series anthologies TOC subtemplates
Template:32TOC-beg (edit talk links history) Begins the table and provides formatting
Template:32s (edit talk links history) 'mnemonically' 32 'story' or 'section'
Template:32st (edit talk links history) aka redirect Template:32stitle; used for TOC section titles
Template:32color (edit talk links history) -- look up table 'switch' template for color selection

Template:32TOC-end —implemented as a redirect, just aliases " |} "



aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -