Jump to content

Index talk:The Pathway of Roses, Larson, 1913

Page contents not supported in other languages.
Add topic
From Wikisource
Latest comment: 11 years ago by Londonjackbooks in topic Chapter transclusion notation

1910 edition

[edit]

Link to 1910 edition for copy/paste of text.

alternate text


1910 (& subsequent editions excepting the London, 1913 ed.) decorative border

Continued...

[edit]
  • Query: Is there in fact a page 45 in this work (especially since contents page implies there ought to be 351+ pages in total)? There does not appear to be a corresponding JPG scan … MODCHK (talk) 05:55, 23 January 2013 (UTC)Reply
Short answer: Yes (to be read similarly to "duuhhh"). Londonjackbooks (talk) 11:59, 23 January 2013 (UTC)Reply
Long answer (to give you the benefit of the doubt): Page 45 is the first page of the next chapter. I got ahead of myself yesterday thinking in tens. Photographs vs. scans. I do not want to break the binding, as the book was a gift. Londonjackbooks (talk) 12:15, 23 January 2013 (UTC)Reply
Re. "duuhhh": fair cop. Please be kind to your (obviously quite) precious book. I was really trying to draw attention to the empty place holder rather than the incompleteness of the scan. According to Page:The Pathway of Roses, Larson (1913) image of page iv.jpg, only 300 more to go! MODCHK (talk) 21:17, 23 January 2013 (UTC)Reply
Didn't even notice that page was completed. Thanks. I wasn't looking forward to proofreading it. One example of not saving the best for last. Londonjackbooks (talk) 21:51, 23 January 2013 (UTC)Reply
  • Request: I have (finally!) figured out how to integrate the table cell critical to providing vertical centring into the prototype template. Would somebody else please be so good as to verify if User:MODCHK/Sandbox behaves rationally in their browser?
Smidgen more white space at bottom in Chrome (like 1/6th or something like that), but looks okay.
Your eye is good! Agree. Moved block down 3px and enabled border box for demonstration only. MODCHK (talk) 14:08, 23 January 2013 (UTC)Reply

Chapter transclusion notation

[edit]

What does it all mean? I 'get' the pages at bottom, but can you please explain what the rest means/does? Thanks, Londonjackbooks (talk) 16:18, 28 January 2013 (UTC)Reply

{{for
|
|call=PageNumWrapper
|pv=page
|pc1n=PNWprefix
|pc1v=The Pathway of Roses, Larson (1913) image of page 
|pc2n=PNWpostfix
|pc2v=.jpg
|89|90|91|92|93|94|95|96|97|98|99|100|101|102|103|105}}
I just got your question. Weather was pretty wild here yesterday (lots of trees blown down etc.) so I got distracted on non-computer tasks.
The above is a shameful demonstration how a lot or research and effort can be invested in "simplifying" an issue; with the end result being no better than doing noting at all! I was hoping to come up with a template similar to the {{Page}} you used for the other chapters, but which would accept multiple pages (or a page range) ala the way <pages> works for DJVU files. As you can see I was not spectacularly successful. (I know; 'not'―but it sounds better than "spectacularly unsuccessful!")
{{for}} is an existing template which absorbs the list at the end (i.e. here: 89|90|91|92|93|94|95|96|97|98|99|100|101|102|103|105) and "calls" another template (here PageNumWrapper) repeatedly, each time passing one parameter in the parameter specified by pv (here page.) So far so good; but if you examine your own use of {{Page}} you will note that it needs each page number specified twice―one for the "num" parameter, and again in the JPG file name. {{for}} only allows one use per iteration, so I had to create the laughably simplistic {{PageNumWrapper}} to copy the value into two places; and then invoke {{Page}}.
Oh, and the "|pc1n=PNWprefix|pc1v=The Pathway of Roses, Larson (1913) image of page |pc2n=PNWpostfix|pc2v=.jpg" junk is in turn required because this compromise means I cannot let {{for}} "use up" the parameter creating the JPG filename, so PageNumWrapper needs these bits to reconstruct it. Un-pretty.
To reiterate, I was hoping to create something which might be easier to copy and modify from chapter to chapter, but in reality I think the recipe turned out to be closer to mock turkey (i.e neither entirely beast nor fowl.) Up to you which way you want to carry on. MODCHK (talk) 00:30, 29 January 2013 (UTC)Reply
I wouldn't normally ask this, but could you show me how transclusion would render with straight html (or whatever) without using any templates on the page whatsoever? You don't have to bother with it now (or ever), for I won't be back till tomorrow... but I would be interested. I haven't read your response above thoroughly, but will do so tomorrow. Thanks, Londonjackbooks (talk) 00:45, 29 January 2013 (UTC)Reply
The direct answer is: "I cannot, because you have asked an impossible question." This is because transclusion is a wiki function which takes place before any HTML can be produced. The question I can address is to show you the wiki coding without templates which will achieve the same effect. I hope this is close enough to satisfy the spirit if not the word of your enquiry.
Here is the background, which I warn, you are not going to like due to the quantity of "technical guff" I am going to load on you here (I don't entirely pretend to have a handle on this, so please consult further if need be.) I could not find a "decent" backgrounder on any of the "normal sister" wikis, and so had to resort to the master software site: Extension:Labeled Section Transclusion.
Now because of our private running gag about me not being able to use that word, you are really not(!) going to like this. {{Page}} uses a wiki system extension function which you might have guessed from the backgrounder above is called Labelled Section Transclusion (parser function #lst.) This function causes transclusion of <section>-labelled parts of pages. Because we wish to transclude entire (unrestricted) pages, a variant called #lstx which transcludes everything except a labelled section, which we haven't got anyway here; so we don't have to specify that which we don't want, because we want the entire page! (I never said this wasn't going to be a nightmare or exclusions, did I?)
On top of everything else, the writer of the function decided that "English" names were appropriate, so #lstx has an alias #section-x. If you have all that under your belt, then the wiki code for transcluding Chapter 9 of the "Pathway of Roses", excluding the "pretty header" stuff becomes, literally:
<span><span class="pagenum" id="89" title="Page:The Pathway of Roses, Larson (1913) image of page 89.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 89.jpg}}
<span><span class="pagenum" id="90" title="Page:The Pathway of Roses, Larson (1913) image of page 90.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 90.jpg}}
<span><span class="pagenum" id="91" title="Page:The Pathway of Roses, Larson (1913) image of page 91.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 91.jpg}}
<span><span class="pagenum" id="92" title="Page:The Pathway of Roses, Larson (1913) image of page 92.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 92.jpg}}
<span><span class="pagenum" id="93" title="Page:The Pathway of Roses, Larson (1913) image of page 93.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 93.jpg}}
<span><span class="pagenum" id="94" title="Page:The Pathway of Roses, Larson (1913) image of page 94.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 94.jpg}}
<span><span class="pagenum" id="95" title="Page:The Pathway of Roses, Larson (1913) image of page 95.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 95.jpg}}
<span><span class="pagenum" id="96" title="Page:The Pathway of Roses, Larson (1913) image of page 96.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 96.jpg}}
<span><span class="pagenum" id="97" title="Page:The Pathway of Roses, Larson (1913) image of page 97.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 97.jpg}}
<span><span class="pagenum" id="98" title="Page:The Pathway of Roses, Larson (1913) image of page 98.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 98.jpg}}
<span><span class="pagenum" id="99" title="Page:The Pathway of Roses, Larson (1913) image of page 99.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 99.jpg}}
<span><span class="pagenum" id="100" title="Page:The Pathway of Roses, Larson (1913) image of page 100.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 100.jpg}}
<span><span class="pagenum" id="101" title="Page:The Pathway of Roses, Larson (1913) image of page 101.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 101.jpg}}
<span><span class="pagenum" id="102" title="Page:The Pathway of Roses, Larson (1913) image of page 102.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 102.jpg}}
<span><span class="pagenum" id="103" title="Page:The Pathway of Roses, Larson (1913) image of page 103.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 103.jpg}}
<span><span class="pagenum" id="105" title="Page:The Pathway of Roses, Larson (1913) image of page 105.jpg"></span></span>
{{#section-x:Page:The Pathway of Roses, Larson (1913) image of page 105.jpg}}
All of the stuff embedded within the double-<span>s is associated with displaying the page number makers down the left borders.
Feeling swamped yet? MODCHK (talk) 01:58, 29 January 2013 (UTC)Reply
Not yet. Thanks for the explanation & MW ref link. As to the use of the word "not": I am not against its use, as I am sure you know... Merely the manner in which two or more instances are used in a sentence resulting in a full-stop to my brain. 'Let your writing be yea, yea; nay, nay' — or better yet, 'let your writing be yea; nay'. :) Londonjackbooks (talk) 14:28, 29 January 2013 (UTC)Reply