![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 | → | Archive 19 |
This discussion belongs on Talk:Bernie Sanders |
---|
The following discussion has been closed. Please do not modify it. |
I think that an edit of three days ago removing "Religion: Jewish" from the Bernie Sanders article runs contrary to the findings of the above RfC. The proposer of the above RfC, with an edit summary reading "not a member of any religion", removes "Religion: Jewish" from the Bernie Sanders article despite the press package of Bernie Sanders reading "Religion: Jewish". How is that edit reconcilable with the RfC above? Bus stop ( talk) 19:41, 31 January 2016 (UTC)
(
edit conflict) FFS, how many times is this going to be discussed? Sanders is Jewish. See
Talk:Bernie Sanders/Archive 2#Is Sanders "Jewish" and does he have dual-citizenship? and
Talk:Bernie Sanders/Archive 2#Religion: Jewish and
Talk:Bernie Sanders/Archive 3#Jewish, again and
Talk:Bernie Sanders/Archive 3#Religion and
Talk:Bernie Sanders/Archive 4#"Religion: Judaism". No, this should not have to be discussed de novo every time a troll decides to vandalize the article. —
Malik Shabazz
Talk/
Stalk 21:35, 31 January 2016 (UTC)
{{hidden archive bottom]}} |
I thought that an RfC could only be closed by an administrator? Müdigkeit isn't an admin. Could someone confirm this? Also the reason given is simply about numbers and doesn't mention anything about consensus. Gaia Octavia Agrippa Talk 10:14, 1 February 2016 (UTC)
Off-topic material, unrelated to Template:Infobox. —
SMcCandlish ☺
☏
¢ ≽ʌⱷ҅ᴥⱷʌ≼ 13:31, 24 March 2016 (UTC)
|
---|
|
I am improving Template:Infobox zodiac to correct the generated dates. I would like to include a citation in the infobox that would have a superscript within the infobox that leads to the article's list of references. However, different articles have different citation styles. What approaches have been tried to make a citation in an infobox compatible with various citation styles? Jc3s5h ( talk) 17:38, 24 March 2016 (UTC)
Could we make it any easier to use wikidata on infobox templates? For example, rather than including the following code on the infobox template:
|data2 = {{#invoke:Wikidata|getValue|P123|{{{parameter_name|FETCH_WIKIDATA}}}}}
would it be possible to just define the following:
|data2 = {{{parameter_name|}}} |property2 = 123
and then this template would do the business of obtaining the data from the relevant property if the parameter was undefined? — Martin ( MSGJ · talk) 15:23, 31 March 2016 (UTC)
|data2 = {{{parameter_name|FETCH_WIKIDATA}}} |property2 = 123
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Add his religion to infobox as he was a very religious man. Vikramadityachandel ( talk) 18:07, 7 April 2016 (UTC)
Not done
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello! I noticed there were a few typos in the info box at the top of the page. I.E. it says "news editor" and there are several, as well as "managing editors" and there is only one. Additionally, Laura Johnston is not an opinion editor, she's a senior editor. If you could please give me permission to approve this request that would be great! I work for the Columbia Missourian and the editor in chief, Tom Warhover, asked me to edit and correct this page. Thanks.
Lc sherman ( talk) 00:07, 9 April 2016 (UTC)
It should probably be using File:Example-serious.jpg 10:39, 26 April 2016 (UTC) — Preceding unsigned comment added by 217.119.235.14 ( talk)
Wikidata has begun to be automatically imported into infobox fields. Should this be opt-in or opt-out? Please take part in the discussion at Wikipedia:Village pump (policy)#RfC: Wikidata in infoboxes, opt-in or opt-out?. Curly Turkey 🍁 ¡gobble! 01:18, 16 May 2016 (UTC)
It seems as if the title of some infoboxes, for instance the on organizations, are reproduced a bit strange on mobile devices. The normal titles is aligned to the left, whereas the native title seems to be aligned at the center. Is that by purpose? Chicbyaccident ( talk) 08:40, 3 June 2016 (UTC)
Why does Template:Infobox person use filename only in the "image" field, but Template:Infobox uses full image syntax? I can never remember which takes what and have to look it up. Kendall-K1 ( talk) 13:34, 25 June 2016 (UTC)
I am working on cleaning out the maintenance category Category:Pages using infoboxes with thumbnail images and I'm curious if there is a way we can use the Infobox template/module to help prevent NEW occurrences of thumbnails. Is there a way for the infobox to throw an error in preview when someone tries to add a new thumbnail? -- Zackmann08 ( Talk to me/ What I been doing) 19:00, 15 July 2016 (UTC)
I’ve noticed a problem with this template. Posting here also as it’s talk page is relatively inactive, and the problem may be related to this template or its module. The thread is Template talk:Infobox restaurant#Map not working.-- JohnBlackburne words deeds 14:37, 16 July 2016 (UTC)
Hello! The documentation for template:infobox says (quote) "Ideally, the Lua module supporting this template should now support a new way to make each header row autohideable by detecting if there is at least one non-empty data row after that header row" (unquote).
I think that is a great idea, so I thought about an easy way to implement that. The result is the altered Lua module in Module:Infobox/sandbox. Here is a diff from the current version.
The new version should not change anything at all for current infoboxes, but it introduces a new series of parameters, called condheader(n) for conditional header. A condheader will work exactly as a normal header if it is followed immediately by a data row in the infobox. But if the next row is not a data row, the condheader will be suppressed. I have a modified Template:Infobox bridge which uses condheader(n) in my personal sandbox together with a redirection to Module:Infobox/sandbox, so the new code can be tested for bridge articles using Special:TemplateSandbox with User:Dipsacus fullonum/sandbox as sandbox prefix.
I hope you will like the idea too! It could make many infoboxes simpler to code and maintain. Best regards, Dipsacus fullonum ( talk) 20:34, 8 August 2016 (UTC)
At
Talk:Noël_Coward#RfC: Should an Infobox be added to the page?, there's been some assertions that an RfC needs to be performed here in order to address issues raised in the RfC for an infobox at
Noël Coward. I don't understand this myself, but maybe someone more familiar with maintaining this template can discern what this is about? In that (rather long) discussion, there are several links to this talk, Template Talk:Infobox
, that mention this possible general RfC. (The first is mine, where I thought I understood this, but I get much less sure with each of the following ones.) Thanks in advance. --
A D Monroe III (
talk) 17:23, 21 August 2016 (UTC)
foos | foo1
foo7 foo8 foo9 |
---|
When <br> is used to create a multiline |dataN=
value, the template/module displays with a stray blank line in the middle (between "foo6" and "foo7" at right). According to the raw HTML source, it's lumping the first few lines in one <p> and then a separate <p> for the later lines, which is wrong both semantically and for display purposes. It seems to happen at whichever location is the last newline in the source.
DMacks (
talk) 18:38, 31 August 2016 (UTC)
Code used is:
{{Infobox
| label1 = foos
| data1 = foo1
<br>foo2
<br>foo3<br>foo4
<br>foo5
<br>foo6
<br>foo7<br>foo8<br>foo9}}
-- Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:21, 31 August 2016 (UTC)
Hello,
To be honest, I found the current infobox module really confusing and hard to understand considering how messed up when it have CSS and HTML code nested in the lua codes... So, I'm wondering if it's possible to have a more simpler module without any of CSS and HTML code lines? it will be usefull for every new user of mediawiki and please, add the comments that explain how each function works.
Thank you very much and enjoy your day!
Allaze-eroler ( talk) 22:36, 6 September 2016 (UTC)
I have been creating lists of presidential elections by state, an example being United States presidential elections in New York. I would like to craft a custom infobox for these 51 pages containing a location map of the state, state flag/seal, and blanks for the set of parameters set forth at Draft:Template:Infobox elections by state. Any help with the wiki-fu for this would be appreciated. Cheers! bd2412 T 02:26, 16 September 2016 (UTC)
Some infobox modules such as Module:Infobox_road and Module:Infobox_settlement calls the Infobox module and feeds it with arguments in testing mode. A few Module:Infobox derivatives are used this way as well, sometimes by more commonly-used modules like Module:Infobox gene. This unofficial usage makes sense as writers would have to copy the whole template and modify it otherwise.
As more and more infobox templates are being converted to Lua module, it seems necessary to convert the testing-only status for directly argument-passing usage to a normative one. This change would help module writers write modules more confidently by declaring a previously testing-only interface stable.
-- Artoria 2e5 emits crap 14:02, 13 October 2016 (UTC)
{{
dead link}}
embedded in infoboxIs it possible to leave a {{
dead link}}
inside an infobox? See
example Footnote #1 the rendering is messed up. --
Green
C 19:11, 10 November 2016 (UTC)
pop_ref_cbs
only contains a url. Some templates make operations on some parameters which fail if the parameter doesn't have the expected type, e.g. a pure number or url.
PrimeHunter (
talk) 21:55, 10 November 2016 (UTC)
{{
dead link}}
, e.g. trying to add a reference to a parameter which can only hold a number because calculations are performed on the value. Affected templates can add additional parameters for other types of content but this requires extra coding, and users of the template must know to use the other parameters.
PrimeHunter (
talk) 23:16, 10 November 2016 (UTC)See Template:Infobox#Examples. First example has
|title = Test Infobox |above = Above text
I notice that in mobile view, the title text is both smaller that the above text, and is left-aligned. This seems counter-intuitive, since the title should have more prominence, and be presented centered as a title. Any background for this? - DePiep ( talk) 09:44, 6 December 2016 (UTC)
title
in <caption>...</caption>
. I have limited CSS knowledge but think the desktop size is larger because of this in
MediaWiki:Common.css:.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
}
Hi all, I've started a discussion at WP:VPR#Infoboxes – optional plural parameters – removing (s) from labels about the possibility of removing "(s)" from the end of labels, and would appreciate your thoughts there! ‑‑ Yodin T 20:30, 29 December 2016 (UTC)
Could we add these new parameters into Module:Infobox?
class
attribute for the infobox's overimage cell.I've added a new version to the sandbox, and also added some test cases at Template:Infobox/testcases#Overimage / overcaption, Template:Infobox/testcases#Individual header/label/data styles. Thanks. -- Dabao qian ( talk) 07:36, 24 December 2016 (UTC)
Hi! When I exported the template:infobox page from here to my wiki, I've noticed something rather strange happen, I noticed that stray <td>, <tr> and <th> elements would appear in articles that used embedded infoboxes, and I'm not sure why. Image example of this happening: One example . Another Example I've tried deleting and reimporting the Template:Infobox, but that doesn't appear to solve anything. I've also changed my theme from DarkVector to the vanilla Vector, and it doesn't fix anything either. Any advice on how to get rid of them? Running Mediawiki 1.27.1
Edit: I noticed that only the |child element would cause this, and not the |embed element. I'm still unsure how to fix this.
Edit2: Wow, I'm an idiot, I forgot to enable $wgUseTidy. I guess this problem is solved now.
MalevolentArcana ( talk) 06:37, 24 January 2017 (UTC)
So I've been doing a number of Infobox conversions (i.e. converting templates to use {{ Infobox}} as a base). One thing I've noticed is that there is very little consistency with how previous/next links are displayed at the bottom of infobox. Some user →/←, some use </> etc. Could we explore adding adding a previous and a next param to the base infobox so that rather then having to feed a big cluster into {{{param}}}, we could feed stuff into {{{previous}}}/{{{next}}}? -- Zackmann08 ( Talk to me/ What I been doing) 03:49, 6 January 2017 (UTC)
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could you please let me copy the code of this infobox template because I really need it for a project I have in school. I am a student from Albania and I study at Epoka University. I have an assignment to create a wiki page and I really need this infobox template. 79.106.109.152 ( talk) 19:41, 9 February 2017 (UTC)
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I would like a copy of the Infobox template. I am creating a private wiki, and the steps to import the Template:Infobox do not seem to be working for me. CSchrieb ( talk) 00:04, 17 February 2017 (UTC)
Main 1 | |||||||
---|---|---|---|---|---|---|---|
Main 2 | |||||||
| |||||||
| |||||||
Label 5 | Data 5 | ||||||
Main 6 |
Is it possible to show/hide subboxes? LA ( T) @ 03:14, 20 February 2017 (UTC)
|ethnic_groups = {{Collapsible list
.--
Moxy (
talk) 04:48, 20 February 2017 (UTC)Hi, I've become aware that subboxes emit the infobox class. This seems incorrect to me. Is there a specific reason to do so ? — TheDJ ( talk • contribs) 21:05, 27 February 2017 (UTC)
Main 1 | |||||||
---|---|---|---|---|---|---|---|
Main 2 | |||||||
| |||||||
Label 5 | Data 5 | ||||||
Main 6 |
foo | |||
coloured row |
Is it possible to have a subbox with the header width the same as a regular infobox header?
Jc86035 (
talk) Use {{
re|Jc86035}}
to reply to me 15:41, 23 March 2017 (UTC)
margin:-4px
).
Frietjes (
talk) 19:45, 23 March 2017 (UTC)
padding:0
into the infobox using
Module:String
[2].|data42style=
) in Module:Infobox, or is it not worth adding?
Jc86035 (
talk) Use {{
re|Jc86035}}|datastyleX=
would be useful for other situations. for {{
infobox3cols}} we have |rowcellstyleX=
which allows you to style all the table cells in a row. so, if there is only one cell (e.g., data without labels) you get what you want. so, we could import that feature here which would have the advantage of keeping the syntax the same between the two templates.
Frietjes (
talk) 14:28, 24 March 2017 (UTC)per the thread above, are there any objections to
this change? it adds an optional |rowcellstyleX=
parameter which allows you to pass CSS for styling the cells in that row. this style applies to both the labels and the data fields, and follows the same syntax used in
module:infobox3cols. this will allow us to use |rowcellstyleX=padding:0
for rows containing subboxes so we don't need to use the negative margin trick for the subbox. let me know if you see any problems with the proposed addition. thank you.
Frietjes (
talk) 15:57, 24 March 2017 (UTC)
Is there any MOS for infoboxes? Should we have one? I guess spaces and capitals in defining params in infoboxes should be done away with. I would like to invite comments from others on this. -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 06:23, 21 April 2017 (UTC)
How to center subbox header? Example is Frank Sinatra. Show/hide takes space on the right and pushes title to the left; if we use margin-left:1em or something like that, then in mobile view (where collapsible things are uncollapsed and show/hide buttons removed) title goes from center 1em to the right in this case.
I mean to make it like it is in {{ Infobox station}}, so that header text does not jump left-right when clicking show/hide (this could be done in Module:Navbar or collapsible class to fix all show/hide instances: center them, and stop them moving left-right).-- Obsuser ( talk) 13:45, 8 May 2017 (UTC)
min-width:100%
to override mobile CSS). In some places there just isn't any margin/text-align CSS because the maximized width negates the need for it. Could you give any other examples of where it's not working? I don't think there's an easy solution for the extra vertical space without playing with the mobile CSS (since any formatting could also unintentionally affect the desktop layout).|image_caption=
text were to be deleted then the table code inserted by {{
Collapsed infobox section begin}} would have been treated as part of |image=
and wouldn't have displayed properly. I don't think this is a problem since there's almost always a caption parameter in infoboxes.
Jc86035 (
talk) Use {{
re|Jc86035}}I have noticed for two days now that the infobox appears after the first paragraph of the leading section of any article. This affects all the articles I have gone through in this period; from Television season articles, television series articles, a persons article etc. Isn't the infobox supposed to be at the beginning of the in the mobile version of Wikipedia articles? Please, someone help fix this. Nyanchoka : talk 2 me 18:06, 25 May 2017 (UTC)
At WT:Lua I was invited to comment on Module:Infobox/sandbox. All I can manage at the moment is to examine the changes from the main module and comment on any peculiarities—the logic of what the changes achieve is a blur that I can't take time to examine. I am moderately sure the new code is robust and will do what is expected and I only have trivia to report. My first point is that it is best to retain the existing style of a module (unless that style is horrendous). For example, change the first of these to the second:
for i=2,#s do for i = 2, #s do
It would be nice if the first edit to the main module (without any other changes) was to change all the spaces used for indents to tabs per current conventions, but that is not needed.
I have been using %S
(matches non-whitespace) for a while and this tweak could be made:
local function notempty( s ) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end local function notempty( s ) return s and s:match( '%S' ) end
I guess there is a reason marker
is used twice in the following. Please don't explain as I can't digest it now but I thought I would mention anything I noticed.
return marker .. tostring(root) .. marker
Johnuniq ( talk) 05:44, 28 May 2017 (UTC)
Re: "Avoid flag icons." ( WP:INFOBOXUSE) and "Flag icons should not be used in infoboxes" ( WP:INFOBOXFLAG), I am considering removing flag items from a large number of infoboxes such as Notre-Dame de Paris, United States Navy SEALs, and Iberian Peninsula. Are there any other guidelines, policies or RfCs I should be aware of that might guide me as to pages that are exceptions? -- Guy Macon ( talk) 09:39, 30 June 2017 (UTC)
This RfC, which directly concerns and affects {{ Infobox school}} which is a child of this a template, is here: Wikipedia:Village pump (policy)/Archive 136#RfC: Allow private schools to be characterized as non-affiliated as well as religious, in infobox?. Herostratus ( talk) 18:52, 25 June 2017 (UTC)
For a lot of cities/towns in Europe, like Danzig or Straßburg, they've belonged to a number of countries over the years. Can we add a 'former name' and 'former administrative divisions' section as an optional section? So, for example, Suckow an der Ihna, now Żukowo would show something like:
Żukowo Former Name: Suckow an der Ihna Former Country: German Empire (1871-1945)
(stars representing intented)
-- James ( talk) 12:10, 6 July 2017 (UTC)
Is it possible to add code for tracking category with pages containing various Infoboxes with unknown parameters to this template itself, rather than to each infobox separately? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 19:54, 25 August 2017 (UTC)
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 | → | Archive 19 |
This discussion belongs on Talk:Bernie Sanders |
---|
The following discussion has been closed. Please do not modify it. |
I think that an edit of three days ago removing "Religion: Jewish" from the Bernie Sanders article runs contrary to the findings of the above RfC. The proposer of the above RfC, with an edit summary reading "not a member of any religion", removes "Religion: Jewish" from the Bernie Sanders article despite the press package of Bernie Sanders reading "Religion: Jewish". How is that edit reconcilable with the RfC above? Bus stop ( talk) 19:41, 31 January 2016 (UTC)
(
edit conflict) FFS, how many times is this going to be discussed? Sanders is Jewish. See
Talk:Bernie Sanders/Archive 2#Is Sanders "Jewish" and does he have dual-citizenship? and
Talk:Bernie Sanders/Archive 2#Religion: Jewish and
Talk:Bernie Sanders/Archive 3#Jewish, again and
Talk:Bernie Sanders/Archive 3#Religion and
Talk:Bernie Sanders/Archive 4#"Religion: Judaism". No, this should not have to be discussed de novo every time a troll decides to vandalize the article. —
Malik Shabazz
Talk/
Stalk 21:35, 31 January 2016 (UTC)
{{hidden archive bottom]}} |
I thought that an RfC could only be closed by an administrator? Müdigkeit isn't an admin. Could someone confirm this? Also the reason given is simply about numbers and doesn't mention anything about consensus. Gaia Octavia Agrippa Talk 10:14, 1 February 2016 (UTC)
Off-topic material, unrelated to Template:Infobox. —
SMcCandlish ☺
☏
¢ ≽ʌⱷ҅ᴥⱷʌ≼ 13:31, 24 March 2016 (UTC)
|
---|
|
I am improving Template:Infobox zodiac to correct the generated dates. I would like to include a citation in the infobox that would have a superscript within the infobox that leads to the article's list of references. However, different articles have different citation styles. What approaches have been tried to make a citation in an infobox compatible with various citation styles? Jc3s5h ( talk) 17:38, 24 March 2016 (UTC)
Could we make it any easier to use wikidata on infobox templates? For example, rather than including the following code on the infobox template:
|data2 = {{#invoke:Wikidata|getValue|P123|{{{parameter_name|FETCH_WIKIDATA}}}}}
would it be possible to just define the following:
|data2 = {{{parameter_name|}}} |property2 = 123
and then this template would do the business of obtaining the data from the relevant property if the parameter was undefined? — Martin ( MSGJ · talk) 15:23, 31 March 2016 (UTC)
|data2 = {{{parameter_name|FETCH_WIKIDATA}}} |property2 = 123
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Add his religion to infobox as he was a very religious man. Vikramadityachandel ( talk) 18:07, 7 April 2016 (UTC)
Not done
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello! I noticed there were a few typos in the info box at the top of the page. I.E. it says "news editor" and there are several, as well as "managing editors" and there is only one. Additionally, Laura Johnston is not an opinion editor, she's a senior editor. If you could please give me permission to approve this request that would be great! I work for the Columbia Missourian and the editor in chief, Tom Warhover, asked me to edit and correct this page. Thanks.
Lc sherman ( talk) 00:07, 9 April 2016 (UTC)
It should probably be using File:Example-serious.jpg 10:39, 26 April 2016 (UTC) — Preceding unsigned comment added by 217.119.235.14 ( talk)
Wikidata has begun to be automatically imported into infobox fields. Should this be opt-in or opt-out? Please take part in the discussion at Wikipedia:Village pump (policy)#RfC: Wikidata in infoboxes, opt-in or opt-out?. Curly Turkey 🍁 ¡gobble! 01:18, 16 May 2016 (UTC)
It seems as if the title of some infoboxes, for instance the on organizations, are reproduced a bit strange on mobile devices. The normal titles is aligned to the left, whereas the native title seems to be aligned at the center. Is that by purpose? Chicbyaccident ( talk) 08:40, 3 June 2016 (UTC)
Why does Template:Infobox person use filename only in the "image" field, but Template:Infobox uses full image syntax? I can never remember which takes what and have to look it up. Kendall-K1 ( talk) 13:34, 25 June 2016 (UTC)
I am working on cleaning out the maintenance category Category:Pages using infoboxes with thumbnail images and I'm curious if there is a way we can use the Infobox template/module to help prevent NEW occurrences of thumbnails. Is there a way for the infobox to throw an error in preview when someone tries to add a new thumbnail? -- Zackmann08 ( Talk to me/ What I been doing) 19:00, 15 July 2016 (UTC)
I’ve noticed a problem with this template. Posting here also as it’s talk page is relatively inactive, and the problem may be related to this template or its module. The thread is Template talk:Infobox restaurant#Map not working.-- JohnBlackburne words deeds 14:37, 16 July 2016 (UTC)
Hello! The documentation for template:infobox says (quote) "Ideally, the Lua module supporting this template should now support a new way to make each header row autohideable by detecting if there is at least one non-empty data row after that header row" (unquote).
I think that is a great idea, so I thought about an easy way to implement that. The result is the altered Lua module in Module:Infobox/sandbox. Here is a diff from the current version.
The new version should not change anything at all for current infoboxes, but it introduces a new series of parameters, called condheader(n) for conditional header. A condheader will work exactly as a normal header if it is followed immediately by a data row in the infobox. But if the next row is not a data row, the condheader will be suppressed. I have a modified Template:Infobox bridge which uses condheader(n) in my personal sandbox together with a redirection to Module:Infobox/sandbox, so the new code can be tested for bridge articles using Special:TemplateSandbox with User:Dipsacus fullonum/sandbox as sandbox prefix.
I hope you will like the idea too! It could make many infoboxes simpler to code and maintain. Best regards, Dipsacus fullonum ( talk) 20:34, 8 August 2016 (UTC)
At
Talk:Noël_Coward#RfC: Should an Infobox be added to the page?, there's been some assertions that an RfC needs to be performed here in order to address issues raised in the RfC for an infobox at
Noël Coward. I don't understand this myself, but maybe someone more familiar with maintaining this template can discern what this is about? In that (rather long) discussion, there are several links to this talk, Template Talk:Infobox
, that mention this possible general RfC. (The first is mine, where I thought I understood this, but I get much less sure with each of the following ones.) Thanks in advance. --
A D Monroe III (
talk) 17:23, 21 August 2016 (UTC)
foos | foo1
foo7 foo8 foo9 |
---|
When <br> is used to create a multiline |dataN=
value, the template/module displays with a stray blank line in the middle (between "foo6" and "foo7" at right). According to the raw HTML source, it's lumping the first few lines in one <p> and then a separate <p> for the later lines, which is wrong both semantically and for display purposes. It seems to happen at whichever location is the last newline in the source.
DMacks (
talk) 18:38, 31 August 2016 (UTC)
Code used is:
{{Infobox
| label1 = foos
| data1 = foo1
<br>foo2
<br>foo3<br>foo4
<br>foo5
<br>foo6
<br>foo7<br>foo8<br>foo9}}
-- Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:21, 31 August 2016 (UTC)
Hello,
To be honest, I found the current infobox module really confusing and hard to understand considering how messed up when it have CSS and HTML code nested in the lua codes... So, I'm wondering if it's possible to have a more simpler module without any of CSS and HTML code lines? it will be usefull for every new user of mediawiki and please, add the comments that explain how each function works.
Thank you very much and enjoy your day!
Allaze-eroler ( talk) 22:36, 6 September 2016 (UTC)
I have been creating lists of presidential elections by state, an example being United States presidential elections in New York. I would like to craft a custom infobox for these 51 pages containing a location map of the state, state flag/seal, and blanks for the set of parameters set forth at Draft:Template:Infobox elections by state. Any help with the wiki-fu for this would be appreciated. Cheers! bd2412 T 02:26, 16 September 2016 (UTC)
Some infobox modules such as Module:Infobox_road and Module:Infobox_settlement calls the Infobox module and feeds it with arguments in testing mode. A few Module:Infobox derivatives are used this way as well, sometimes by more commonly-used modules like Module:Infobox gene. This unofficial usage makes sense as writers would have to copy the whole template and modify it otherwise.
As more and more infobox templates are being converted to Lua module, it seems necessary to convert the testing-only status for directly argument-passing usage to a normative one. This change would help module writers write modules more confidently by declaring a previously testing-only interface stable.
-- Artoria 2e5 emits crap 14:02, 13 October 2016 (UTC)
{{
dead link}}
embedded in infoboxIs it possible to leave a {{
dead link}}
inside an infobox? See
example Footnote #1 the rendering is messed up. --
Green
C 19:11, 10 November 2016 (UTC)
pop_ref_cbs
only contains a url. Some templates make operations on some parameters which fail if the parameter doesn't have the expected type, e.g. a pure number or url.
PrimeHunter (
talk) 21:55, 10 November 2016 (UTC)
{{
dead link}}
, e.g. trying to add a reference to a parameter which can only hold a number because calculations are performed on the value. Affected templates can add additional parameters for other types of content but this requires extra coding, and users of the template must know to use the other parameters.
PrimeHunter (
talk) 23:16, 10 November 2016 (UTC)See Template:Infobox#Examples. First example has
|title = Test Infobox |above = Above text
I notice that in mobile view, the title text is both smaller that the above text, and is left-aligned. This seems counter-intuitive, since the title should have more prominence, and be presented centered as a title. Any background for this? - DePiep ( talk) 09:44, 6 December 2016 (UTC)
title
in <caption>...</caption>
. I have limited CSS knowledge but think the desktop size is larger because of this in
MediaWiki:Common.css:.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
}
Hi all, I've started a discussion at WP:VPR#Infoboxes – optional plural parameters – removing (s) from labels about the possibility of removing "(s)" from the end of labels, and would appreciate your thoughts there! ‑‑ Yodin T 20:30, 29 December 2016 (UTC)
Could we add these new parameters into Module:Infobox?
class
attribute for the infobox's overimage cell.I've added a new version to the sandbox, and also added some test cases at Template:Infobox/testcases#Overimage / overcaption, Template:Infobox/testcases#Individual header/label/data styles. Thanks. -- Dabao qian ( talk) 07:36, 24 December 2016 (UTC)
Hi! When I exported the template:infobox page from here to my wiki, I've noticed something rather strange happen, I noticed that stray <td>, <tr> and <th> elements would appear in articles that used embedded infoboxes, and I'm not sure why. Image example of this happening: One example . Another Example I've tried deleting and reimporting the Template:Infobox, but that doesn't appear to solve anything. I've also changed my theme from DarkVector to the vanilla Vector, and it doesn't fix anything either. Any advice on how to get rid of them? Running Mediawiki 1.27.1
Edit: I noticed that only the |child element would cause this, and not the |embed element. I'm still unsure how to fix this.
Edit2: Wow, I'm an idiot, I forgot to enable $wgUseTidy. I guess this problem is solved now.
MalevolentArcana ( talk) 06:37, 24 January 2017 (UTC)
So I've been doing a number of Infobox conversions (i.e. converting templates to use {{ Infobox}} as a base). One thing I've noticed is that there is very little consistency with how previous/next links are displayed at the bottom of infobox. Some user →/←, some use </> etc. Could we explore adding adding a previous and a next param to the base infobox so that rather then having to feed a big cluster into {{{param}}}, we could feed stuff into {{{previous}}}/{{{next}}}? -- Zackmann08 ( Talk to me/ What I been doing) 03:49, 6 January 2017 (UTC)
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could you please let me copy the code of this infobox template because I really need it for a project I have in school. I am a student from Albania and I study at Epoka University. I have an assignment to create a wiki page and I really need this infobox template. 79.106.109.152 ( talk) 19:41, 9 February 2017 (UTC)
![]() | This
edit request to
Template:Infobox has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I would like a copy of the Infobox template. I am creating a private wiki, and the steps to import the Template:Infobox do not seem to be working for me. CSchrieb ( talk) 00:04, 17 February 2017 (UTC)
Main 1 | |||||||
---|---|---|---|---|---|---|---|
Main 2 | |||||||
| |||||||
| |||||||
Label 5 | Data 5 | ||||||
Main 6 |
Is it possible to show/hide subboxes? LA ( T) @ 03:14, 20 February 2017 (UTC)
|ethnic_groups = {{Collapsible list
.--
Moxy (
talk) 04:48, 20 February 2017 (UTC)Hi, I've become aware that subboxes emit the infobox class. This seems incorrect to me. Is there a specific reason to do so ? — TheDJ ( talk • contribs) 21:05, 27 February 2017 (UTC)
Main 1 | |||||||
---|---|---|---|---|---|---|---|
Main 2 | |||||||
| |||||||
Label 5 | Data 5 | ||||||
Main 6 |
foo | |||
coloured row |
Is it possible to have a subbox with the header width the same as a regular infobox header?
Jc86035 (
talk) Use {{
re|Jc86035}}
to reply to me 15:41, 23 March 2017 (UTC)
margin:-4px
).
Frietjes (
talk) 19:45, 23 March 2017 (UTC)
padding:0
into the infobox using
Module:String
[2].|data42style=
) in Module:Infobox, or is it not worth adding?
Jc86035 (
talk) Use {{
re|Jc86035}}|datastyleX=
would be useful for other situations. for {{
infobox3cols}} we have |rowcellstyleX=
which allows you to style all the table cells in a row. so, if there is only one cell (e.g., data without labels) you get what you want. so, we could import that feature here which would have the advantage of keeping the syntax the same between the two templates.
Frietjes (
talk) 14:28, 24 March 2017 (UTC)per the thread above, are there any objections to
this change? it adds an optional |rowcellstyleX=
parameter which allows you to pass CSS for styling the cells in that row. this style applies to both the labels and the data fields, and follows the same syntax used in
module:infobox3cols. this will allow us to use |rowcellstyleX=padding:0
for rows containing subboxes so we don't need to use the negative margin trick for the subbox. let me know if you see any problems with the proposed addition. thank you.
Frietjes (
talk) 15:57, 24 March 2017 (UTC)
Is there any MOS for infoboxes? Should we have one? I guess spaces and capitals in defining params in infoboxes should be done away with. I would like to invite comments from others on this. -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 06:23, 21 April 2017 (UTC)
How to center subbox header? Example is Frank Sinatra. Show/hide takes space on the right and pushes title to the left; if we use margin-left:1em or something like that, then in mobile view (where collapsible things are uncollapsed and show/hide buttons removed) title goes from center 1em to the right in this case.
I mean to make it like it is in {{ Infobox station}}, so that header text does not jump left-right when clicking show/hide (this could be done in Module:Navbar or collapsible class to fix all show/hide instances: center them, and stop them moving left-right).-- Obsuser ( talk) 13:45, 8 May 2017 (UTC)
min-width:100%
to override mobile CSS). In some places there just isn't any margin/text-align CSS because the maximized width negates the need for it. Could you give any other examples of where it's not working? I don't think there's an easy solution for the extra vertical space without playing with the mobile CSS (since any formatting could also unintentionally affect the desktop layout).|image_caption=
text were to be deleted then the table code inserted by {{
Collapsed infobox section begin}} would have been treated as part of |image=
and wouldn't have displayed properly. I don't think this is a problem since there's almost always a caption parameter in infoboxes.
Jc86035 (
talk) Use {{
re|Jc86035}}I have noticed for two days now that the infobox appears after the first paragraph of the leading section of any article. This affects all the articles I have gone through in this period; from Television season articles, television series articles, a persons article etc. Isn't the infobox supposed to be at the beginning of the in the mobile version of Wikipedia articles? Please, someone help fix this. Nyanchoka : talk 2 me 18:06, 25 May 2017 (UTC)
At WT:Lua I was invited to comment on Module:Infobox/sandbox. All I can manage at the moment is to examine the changes from the main module and comment on any peculiarities—the logic of what the changes achieve is a blur that I can't take time to examine. I am moderately sure the new code is robust and will do what is expected and I only have trivia to report. My first point is that it is best to retain the existing style of a module (unless that style is horrendous). For example, change the first of these to the second:
for i=2,#s do for i = 2, #s do
It would be nice if the first edit to the main module (without any other changes) was to change all the spaces used for indents to tabs per current conventions, but that is not needed.
I have been using %S
(matches non-whitespace) for a while and this tweak could be made:
local function notempty( s ) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end local function notempty( s ) return s and s:match( '%S' ) end
I guess there is a reason marker
is used twice in the following. Please don't explain as I can't digest it now but I thought I would mention anything I noticed.
return marker .. tostring(root) .. marker
Johnuniq ( talk) 05:44, 28 May 2017 (UTC)
Re: "Avoid flag icons." ( WP:INFOBOXUSE) and "Flag icons should not be used in infoboxes" ( WP:INFOBOXFLAG), I am considering removing flag items from a large number of infoboxes such as Notre-Dame de Paris, United States Navy SEALs, and Iberian Peninsula. Are there any other guidelines, policies or RfCs I should be aware of that might guide me as to pages that are exceptions? -- Guy Macon ( talk) 09:39, 30 June 2017 (UTC)
This RfC, which directly concerns and affects {{ Infobox school}} which is a child of this a template, is here: Wikipedia:Village pump (policy)/Archive 136#RfC: Allow private schools to be characterized as non-affiliated as well as religious, in infobox?. Herostratus ( talk) 18:52, 25 June 2017 (UTC)
For a lot of cities/towns in Europe, like Danzig or Straßburg, they've belonged to a number of countries over the years. Can we add a 'former name' and 'former administrative divisions' section as an optional section? So, for example, Suckow an der Ihna, now Żukowo would show something like:
Żukowo Former Name: Suckow an der Ihna Former Country: German Empire (1871-1945)
(stars representing intented)
-- James ( talk) 12:10, 6 July 2017 (UTC)
Is it possible to add code for tracking category with pages containing various Infoboxes with unknown parameters to this template itself, rather than to each infobox separately? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 19:54, 25 August 2017 (UTC)