Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Help talk:Transclusion

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Wikipedia talk:Transclusion)

How do we transclude and feature images from the infobox or another source?

[edit]

This help should include that -- that's what I'm looking for right now. Been all over the web. If the image in the article is in the infobox, it does not reflect in the transclusion. Danidamiobi (talk) 11:40, 7 October 2022 (UTC)[reply]

Do you think you could link to the article or place you are trying to transclude from? There could be a variety of reasons it doesn't work, so specifics would be helpful. Aidan9382 (talk) 11:43, 7 October 2022 (UTC)[reply]

Notes and refs

[edit]

I'm working on the 1930 FIFA World Cup page and have run into some problems with transcluded tables. As the group stage results and match information is being transcluded from their respective pages, it's leading to duplicate refs and notes. Is there anyway to avoid this without manually reinserting the tables? Kosack (talk) 15:11, 13 January 2023 (UTC)[reply]

Help with lst in Draft space

[edit]

I'm developing this draft, and attempted to use labeled section transclusion in this edit to import a small section from another draft, but it didn't work. (I've since duplicated the text in both places, so the current revision of the draft no longer uses lst.) I'm wondering if there was something wrong with the way I labeled the lst section name containing the "Draft:" prefix, or whether lst simply does not support use of Draft space. If the latter is the case, then I would like to update the documentation at WP:SELTRANS and at Help:Labeled section transclusion to mention the fact that it is not supported. (If it's a config issue, i.e., supportable per the Mediawiki extension but not currently supported at en-wiki, then I'd like to see about having our implementation of the extension configuration altered so it is supported; but that's a different issue, probably for WP:VPR or WP:VPT.) If it's fixable as is, feel free to fix it in the Draft, or just let me know what I did wrong. Thanks, Mathglot (talk) 00:56, 21 January 2023 (UTC)[reply]

@Mathglot: You tried to transclude with {{#section:Draft:Glossary of French criminal law|ordre publique}} but you had marked the section with <section begin="ordre public" />.[1] Use the same spelling of the label. PrimeHunter (talk) 02:28, 21 January 2023 (UTC)[reply]
@PrimeHunter: Omg, what a dumb error; I feel like an idiot. Thanks for taking the time. Mathglot (talk) 02:33, 21 January 2023 (UTC)[reply]