Difference between revisions of "User:JJR"

From Ephemeral Film Wiki
Jump to navigation Jump to search
Tag: Manual revert
 
Line 8: Line 8:
     <div class="body">
     <div class="body">
       <ul>
       <ul>
<li>[[Help:Todo List]]</li>
        <li>[[Help:Todo List]]</li>
         <li>[[:Category: JR templates]]</li>
         <li>[[:Category: JR templates]]</li>
        <li>[[Special:Import]]</li>
         <li>[[MediaWiki:Common.css]]</li>
         <li>[[MediaWiki:Common.css]]</li>
         <li>[[MediaWiki:Common.js]]</li>
         <li>[[MediaWiki:Common.js]]</li>
         <li>[[Template:Personjr]]</li>
         <li>[[Template:Personjr]]</li>
<li>[[Moving_Image:Casablanca_(film)|Casablanca]]</li>
        <li><s>[[Moving_Image:Casablanca_(film)|Casablanca]]</s></li>
       </ul>
       </ul>
     </div>
     </div>

Latest revision as of 15:05, 14 June 2022

Participant WIP

Template:Parti

Mystery problem

Lua error in Module:Documentation at line 140: message: type error in message cfg.container (string expected, got nil)

Template:CatAutoTOC is part of it

Template:Template other demobox sucks

:addClass(message('container'))

cfg['view-link-display'] = 'view'

Template:Documentation/preload
Template:Documentation/preload-module-doc

Module:Documentation/config

MediaWiki:Scribunto-doc-page-show

invo

invo

Microdata formats

microdata

<div itemscope itemtype="https://schema.org/Movie">

RDFa
<div vocab="https://schema.org/" typeof="Movie">

Links

https://gist.github.com/jdittrich/5611208

batch move

https://www.mediawiki.org/wiki/Manual:MoveBatch.php

https://gist.github.com/karkraeg/57be991d0884811218ec94ecc643c415

toolbar

phc

https://www.middlebury.edu/library/special-collections/collections

tpl

my tpls Category: JR templates

Filmjr |title= |embid= |embsv= |heldby= |synop=0 |forma= |year= |up=|next=|prev=|step=1 |lang=English |pbrs= |len=00:00:00 |link= |bw= |ani= |ewid=|oembedid=|mdpi=|oclc= |dopt=2|athumb=<noinclude> {{Documentation}} </noinclude>

tips

oembed https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/issues/19

Making emptiness and undefinedness equivalent

It is often convenient if assigning the empty string to a parameter has the same effect as not assigning any value to it, as the difference is somewhat abstract, and as mentioned, in some cases there is not even the choice. Also, for example "p=" may be put for convenience, to be filled in later, and/or meant to make explicit that the template has a parameter p, but at this time we do not give it a value.

Making emptiness and undefinedness equivalent can for example be achieved by exclusively using {{{p|}}}, not {{{p}}} and not {{{p|q}}} for a non-empty q, or for example using {{#if:{{{p|}}}|..{{{p}}}..|..}} (i.e., using {{{p}}} only in branches of branching functions where it is defined and non-empty).

preload

Person%3A20240328053524

this almost works... you could title the person with the name of the given film and the role...

http://ephemeralfilm.info/index.php?action=edit&createonly=1&preload=Template:Personjr/Preload&title=Person%3A20240328053524

add section to arbitrary page

this doesn't work
http://ephemeralfilm.info/a/index.php?action=edit&section=new&pageid=22199&sectiontitle=Synopsis
http://ephemeralfilm.info/a/Moving_Image:It%27s_All_Music/edit?section=new&summary=synopsis
this kind of works
http://ephemeralfilm.info/a/Moving_Image:It%27s_All_Music/edit?section=new&preloadtitle=Synopsis
can we tell if the section exists?

Template Tc does not exist

Filmjr exists

no

ff: no

inputBox Preload

Links

Movies to Watch

Colors

light green
#e2f8f6
light purple
#c9bddc
yellow tan
#f8f6e3
browner tan
#f2ece5

MW Messages

transclude section

"When you find a girl whose hair feels like hair..."


transclude templatedata

{{msgnw:Template:Filmjr/doc/pTitle}}

kind of works?

The title of the short film. Do not use colons, brackets, or other types of parenthesis. Dashes are permitted. If this short film's name was to be placed upon a marque or a printed program, how should it be rendered? Supply that here. This title will also be used to provide a display name for the page itself, and a title for embedded video if one is supplied.

kind of works:


No description.

Template parameters

ParameterDescriptionTypeStatus
11

the value of synopsis passed here by filmjr

Stringrequired

this does not work:

{{#tag:templatedata|{{Template:DescUnpack/doc}}

Date

(1950)

(1950/09/01)

(June-1952)

(2016-06-10)

Scribunto

Hello myWorld

10:20:30

0:00:34

Yesno

yes to 1
1
no to zero
0

interwiki

w:Sunflower wikipedia:Sunflower

Special:Interwiki

commons:Category:Videos

google:regular expression cheatsheet

Interwiki links are internal-style links to other websites (which do not have to be wikis, despite the name).

For example, you can link to the article https://en.wikipedia.org/wiki/Sunflower by typing [[wikipedia:Sunflower]] or, on this wiki, the shorter [[w:Sunflower]]. Both will result in a link wikipedia:Sunflower.

This works because by default MediaWiki configures wikipedia: as an "interwiki prefix" that turns into https://en.wikipedia.org/wiki/ when used inside [[ ]]. (It may not work if the admin of your wiki has changed the setting.) Unlike internal links, interwiki links do not use page existence detection, so an interwiki link will appear blue even if the page does not exist on the remote wiki.

Similar to internal page links, you can create piped links, with alternate link label, e.g. [[wikipedia:Sunflower|big yellow flower]] is the link big yellow flower and [[wikipedia:Sunflower|]] is the link Sunflower.

Basically, interwiki links are abbreviations for commonly-used longer external links. A very similar link could be created as [https://en.wikipedia.org/wiki/Sunflower big yellow flower].

More details are at Manual:Interwiki and m:Help:Interwiki linking. Your wiki may have a Special:Interwiki page listing the interwiki prefixes it supports; Template:Git file. You can edit the interwiki table on your site.

Interlanguage links

When a link is both interwiki and interlanguage, the order is wikipedia:en:Sunflower.


For more information, see [[<tvar name=meta>m:Help:Interwiki linking#Interlanguage links</tvar>|m:Help:Interwiki linking#Interlanguage links]].

time

duration and release date

I have a date on <time datetime="2008-02-14 20:00">Valentines day</time>

explode

you

And

JJR

cool subst

{{subst:#explode:{{subst:PAGENAME}}| |0}}

{{subst:#explode:{{subst:PAGENAME}}| |0}}

page type module

I have no clue what this thing does - Template:Pagetype

page

page