Hi Alberto,
I'm still quite new to this, and I couldn't figure out how you assigned a 
template to the tiddlers.
What I would like is to assign tiddlers the tag "playscript" (or set a 
field "playscript"). Those tiddlers would then use a view template that I 
have created which changed the CSS for those tiddlers so that the 
formatting for WikiText of bold, italics and so on to look like a 
screenplay. Then I could easily follow the formatting conventions for 
screenplays, like using the correct font, centering character names, using 
the correct margins and so on.

What would be great is some kind of plugin to implement Fountain Scrippets 
(a screenplay form of markup for blogs and 
wikis): http://fountain.io/scrippets
/*
Scrippet.css
Scrippet is a CSS template designed for including short sections of 
screenplay-formatted material in blog posts.
Originally developed by John August - johnaugust.com
Last modified 8/21/08
*/


div.scrippet {
width: 400px;
background: #fffffc;
color: #000000;
border: 1px solid #333;
padding: 5px 14px 15px 14px !important;
margin-bottom: 16px !important;
margin-left: 20px !important;
}

.scrippet p {
font: 12px/14px Courier, "Courier New", monospace !important;
    text-align: left !important;
letter-spacing: 0 !important;
margin-top: 0px !important;
margin-bottom: 0px !important;
}

.sceneheader,
.action,
.character {
padding-top: 1.5ex !important;
}

.action {
padding-right: 5% !important;
font-size: 12px !important;
line-height: 14px !important;
}


.character {
padding-left: 40% !important;
}

.dialogue {
padding-left: 20% !important;
padding-right: 20% !important;
}

.parenthetical {
padding-left: 32% !important;
padding-right: 30% !important;
}

.dialogue + .parenthetical {
padding-bottom: 0 !important;
}

.transition {
padding-top: 3ex !important;
padding-left: 65% !important;
padding-bottom: 1.5ex !important;
}

Regards,
Matthew



On Thursday, February 20, 2014 12:27:26 PM UTC-8, Alberto Molina wrote:
>
> I don't know about CSS, but you can have every tiddler tagged with a 
> certain tag to be assigned a custom view template. And you can do the same 
> with a certain field value instead of a tag. In my TW (
> http://tesis.tiddlyspot.com), I use different view templates for authors, 
> books, quotes, etc., depending on the value of the field "catégorie".
>
> If you want more help, please be more specific. What do you mean by 
> "making it easy to make a paragraph a character name, dialogue, actions or 
> whatever" ?
>
> Regards,
> Alberto
>
>
> Le mercredi 19 février 2014 23:58:29 UTC+1, Matthew Petty a écrit :
>>
>> Is it possible to have every tiddler tagged with a certain tag to be 
>> assigned a custom CSS stylesheet?
>>
>> What I want to do is to be able to write play scripts or screenplays, 
>> which would mean making it easy to make a paragraph a character name, 
>> dialogue, actions or whatever. It seems like custom CSS would be the way to 
>> go. Any ideas?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to